kc3-lang/libevent/util-internal.h

Branch :


Log

Author Commit Date CI Message
03dce42d 2012-02-11 21:17:18 Tweak the evutil_open_closeonexec patch to work on windows, old unixes. Windows doesn't have a mode_t as far as I can tell. Some unixes, iirc, don't like three-argument open without O_CREAT.
d2b5f722 2012-02-11 17:23:17 Make uses of open() close-on-exec safe by introducing evutil_open_closeonexec. In a multi-process/threaded environment, opening fds internally without the close-on-exec flag could leak fds to child processes.
e49e2891 2012-02-10 17:29:53 Update copyright notices to 2012
3c824bd3 2011-10-24 13:18:09 Update copyright dates to 2011.
3203f88c 2011-06-08 17:18:03 Use the correct printf args when formatting size_t Based on a patch from Mansour Moufid
09d39a12 2011-05-20 14:18:08 Fix compilation with GCC 2, which had no __builtin_expect
713c254d 2011-01-24 18:55:10 Try to build correctly on platforms with no IPv6 support
9184563e 2011-01-24 18:29:20 Build correctly on platforms without sockaddr_storage
cb8059d2 2011-01-01 21:37:21 Fix compilation on Windows with NDEBUG Dongsheng Song reports that when building on windows with NDEBUG, you run into an attempt to do EVUTIL_ASSERT(x) where x is a bitfield, which turns into _EVUTIL_NIL_CONDITION(x), which takes sizeof(x), which is illegal. This patch fixes _EVUTIL_NIL_CONDITION to work on bitfields too.
b63ab177 2010-12-06 14:17:44 EVUTIL_ASSERT: Use sizeof() to avoid "unused variable" warnings.