summaryrefslogtreecommitdiffstats
path: root/lib/libevent/evutil.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-2/+2
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Currently we have about a 50/50 split over fcntl(n, F_GETFL [,0])krw2016-03-201-2/+2
| | | | | | | | | | idioms. Adopt the more concise fcntl(n, F_GETFL) over fcntl(n, F_GETFL, 0) where it is obvious further investigation will not yield and even better way. Obviousness evaluation and ok guenther@
* Remove some #ifdef from libevent.bluhm2014-10-181-10/+1
| | | | OK nicm@
* Remove the remaining #ifdef HAVE_ and the #define _GNU_SOURCE.bluhm2014-10-181-7/+1
| | | | OK nicm@
* Remove some #ifdef HAVE_syscall.bluhm2014-10-171-30/+1
| | | | OK nicm@
* Remove #ifdef HAVE_.*_H, just include the header files.bluhm2014-10-171-10/+3
| | | | | Do not include sys/param.h. OK nicm@
* Remove #ifdef HAVE_CONFIG_H, there is no config.h file.bluhm2014-10-161-4/+1
| | | | OK nicm@
* iRemove the #ifdef WIN32 implementation from libevent.bluhm2014-10-081-135/+9
| | | | OK nicm@
* Update to 1.4.14b.nicm2010-07-121-5/+12
| | | | | | | | | | | | | | 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
* Clean up the awful _EVENT_* poo in the libevent headers, and don'tnicm2010-04-211-5/+5
| | | | | | install event-config.h. Pointed out by deraadt.
* Update libevent to 1.4.13.nicm2010-04-211-0/+279
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