summaryrefslogtreecommitdiffstats
path: root/lib/libevent/signal.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update to 1.4.14b.nicm2010-07-121-6/+15
| | | | | | | | | | | | | | From their change log: o Fix memory-leak of signal handler array with kqueue. [backport] o Make evutil_make_socket_nonblocking() leave any other flags alone. o Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking(). o Re-add event_siglcb; some old code _was_ still using it. :( o Fix a free(NULL) in min_heap.h o Clean up properly when adding a signal handler fails. Also a local change to use an int rather than a long for fcntl(). ok guenther deraadt
* Update libevent to 1.4.13.nicm2010-04-211-45/+202
| | | | | | | | | | | | | This is the core library only, the DNS parts are removed and it does not include the other extra bits (HTTP, DNS, and RPC), a separate port for these will appear in due course. Thanks to jsg, sthen, alek, gilles, jacekm, bernd and any others I've forgotten for testing/comments. Note that /usr/include/evdns.h should be removed after updating. ok deraadt
* Fix evsignal_del()'s use of sigaction(): fill in a sigaction structguenther2010-01-101-2/+7
| | | | | | | and pass a pointer to that instead of passing SIG_DFL directly. (Probably the result of a bad signal()-->sigaction() translation...) ok deraadt@, nicm@, miod@
* Update to libevent 1.3e while retaining our local changes.brad2008-05-021-81/+66
| | | | | "No objection" millert@ "the diff looks and works fine" reyk@
* Update to libevent-1.3b while retaining our local changes. beck@ OKmillert2007-03-191-5/+3
|
* make write-end of signal socketpair non-blocking.deraadt2005-12-021-1/+3
| | | | | | | | | | every signal received writes 1 byte to the socketpair. if you are outside the libevent main loop too long, the socketpair might fill up. that write would then block, in a signal handler. related to this, yesterdy we changed the signal handler to not trash errno. as for the read end, there will be multiple libevent reads off the socketpair (100 bytes at a time) until the socketpair is empty again ok provos
* lookup out of evsigcaught[] must be sig_atomic_t tooderaadt2005-12-021-2/+2
|
* save errno in signal handler since it does a system callderaadt2005-12-011-4/+8
| | | | | only access sig_atomic_t variables, to make it further save ok aaron
* zap trailing whitespaces, no binary changegrunk2005-07-021-2/+2
| | | | ok brad@ beck@
* update to libevent 1.0c; keep local changesbrad2005-04-221-16/+58
| | | | | | | | | | no shared lib so no ABI/API check is necessary thanks to Alexander von Gernler for submitting another diff in an attempt to update libevent and for a use-after-free fix. ok henning@ deraadt@
* backout. not discussed, and very wrong. bad bradderaadt2005-04-191-58/+16
|
* update to libevent 1.0c; keep local changesbrad2005-04-191-16/+58
|
* update to libevent 0.8; keep local changesbrad2004-04-281-11/+9
| | | | ok markus@
* get rid of config.h; ok miod@, millert@, deraadt@markus2003-07-101-1/+3
|
* update to libevent-0.7a.tar.gz; keep local changesmarkus2003-07-091-0/+164