summaryrefslogtreecommitdiff
path: root/kqueue.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-15 01:54:51 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-15 01:54:51 -0400
commit4858b7949c665c3b6dafbf69665b9d126fc33e8f (patch)
tree82663190aa13c0915975370c0f4dd623f42896ea /kqueue.c
parent95a7d418ab4ff332bc299813e6fc83c9be4ed0ec (diff)
downloadlibevent-4858b7949c665c3b6dafbf69665b9d126fc33e8f.tar.gz
Remove the now-useless evsig_caught and evsig_process
Diffstat (limited to 'kqueue.c')
-rw-r--r--kqueue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kqueue.c b/kqueue.c
index d5fa4e40..f4a52355 100644
--- a/kqueue.c
+++ b/kqueue.c
@@ -379,6 +379,8 @@ kq_sig_add(struct event_base *base, int nsignal, short old, short events, void *
if (kevent(kqop->kq, &kev, 1, NULL, 0, &timeout) == -1)
return (-1);
+ /* XXXX The manpage suggest we could use SIG_IGN instead of a
+ * do-nothing handler */
if (_evsig_set_handler(base, nsignal, kq_sighandler) == -1)
return (-1);