diff options
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | ev.3 | 14 | ||||
-rw-r--r-- | ev_win32.c | 2 |
4 files changed, 13 insertions, 8 deletions
@@ -1,5 +1,8 @@ Revision history for libev, a high-performance and full-featured event loop. +3.53 Sun Feb 15 02:38:20 CET 2009 + - fix a bug in event pipe creation on win32 that would cause a + failed assertion on event loop creation (patch by Malek Hadj-Ali). - probe for CLOCK_REALTIME support at runtime as well and fall back to gettimeofday if there is an error, to support older operating systems with newer header files/libraries. diff --git a/configure.ac b/configure.ac index 9ca3759..3fd55ec 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_INIT AC_CONFIG_SRCDIR([ev_epoll.c]) -AM_INIT_AUTOMAKE(libev,3.52) +AM_INIT_AUTOMAKE(libev,3.53) AC_CONFIG_HEADERS([config.h]) AM_MAINTAINER_MODE @@ -132,7 +132,7 @@ .\" ======================================================================== .\" .IX Title "LIBEV 3" -.TH LIBEV 3 "2008-12-14" "libev-3.52" "libev - high performance full featured event loop" +.TH LIBEV 3 "2009-02-06" "libev-3.53" "libev - high performance full featured event loop" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -3354,11 +3354,13 @@ function is hiding in (often \fI\-lrt\fR). See also \f(CW\*(C`EV_USE_CLOCK_SYSCA .IP "\s-1EV_USE_REALTIME\s0" 4 .IX Item "EV_USE_REALTIME" If defined to be \f(CW1\fR, libev will try to detect the availability of the -real-time clock option at compile time (and assume its availability at -runtime if successful). Otherwise no use of the real-time clock option will -be attempted. This effectively replaces \f(CW\*(C`gettimeofday\*(C'\fR by \f(CW\*(C`clock_get -(CLOCK_REALTIME, ...)\*(C'\fR and will not normally affect correctness. See the -note about libraries in the description of \f(CW\*(C`EV_USE_MONOTONIC\*(C'\fR, though. +real-time clock option at compile time (and assume its availability +at runtime if successful). Otherwise no use of the real-time clock +option will be attempted. This effectively replaces \f(CW\*(C`gettimeofday\*(C'\fR +by \f(CW\*(C`clock_get (CLOCK_REALTIME, ...)\*(C'\fR and will not normally affect +correctness. See the note about libraries in the description of +\&\f(CW\*(C`EV_USE_MONOTONIC\*(C'\fR, though. Defaults to the opposite value of +\&\f(CW\*(C`EV_USE_CLOCK_SYSCALL\*(C'\fR. .IP "\s-1EV_USE_CLOCK_SYSCALL\s0" 4 .IX Item "EV_USE_CLOCK_SYSCALL" If defined to be \f(CW1\fR, libev will try to use a direct syscall instead @@ -55,7 +55,7 @@ ev_pipe (int filedes [2]) struct sockaddr_in addr = { 0 }; int addr_size = sizeof (addr); struct sockaddr_in adr2; - int adr2_size; + int adr2_size = sizeof (adr2); SOCKET listener; SOCKET sock [2] = { -1, -1 }; |