summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-06-12 07:04:51 +0200
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-06-12 07:04:51 +0200
commit3f70fb036fc9142b4c6bf68e4bde9d7ef221aa10 (patch)
treecd11e4001e1a04e24be6da5396838815eda9fd97 /src/main.c
parent76103db2b22473302fcf007ea40b28f7a11c428c (diff)
downloadratpoison-3f70fb036fc9142b4c6bf68e4bde9d7ef221aa10.zip
sigaction has other benefits than working on SVR4 systems
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 3a43365..e6747ef 100644
--- a/src/main.c
+++ b/src/main.c
@@ -310,9 +310,6 @@ handler (Display *d, XErrorEvent *e)
void
set_sig_handler (int sig, void (*action)(int))
{
- /* use sigaction because SVR4 systems do not replace the signal
- handler by default which is a tip of the hat to some god-aweful
- ancient code. So use the POSIX sigaction call instead. */
struct sigaction act;
/* check setting for sig */