projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2cc7f8
)
gui: Don't ignore SIGHUP.
author
Andre Noll
<maan@systemlinux.org>
Mon, 17 Feb 2014 21:18:43 +0000
(22:18 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 17 Feb 2014 21:18:43 +0000
(22:18 +0100)
It results in para_gui eating 100% CPU if the terminal window is
closed. Not ignoring the signal makes para_gui die instead.
This bug was present since "day 1".
gui.c
patch
|
blob
|
history
diff --git
a/gui.c
b/gui.c
index
baab0bd
..
c20bb7a
100644
(file)
--- a/
gui.c
+++ b/
gui.c
@@
-560,7
+560,6
@@
static void setup_signal_handling(void)
para_install_sighandler(SIGCHLD);
para_install_sighandler(SIGWINCH);
para_install_sighandler(SIGUSR1);
- para_sigaction(SIGHUP, SIG_IGN);
}
/* kill every process in the process group and exit */