summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-12-14 13:03:54 +0000
committerroot <root>2008-12-14 13:03:54 +0000
commitb3671b8933f927606edb7e0b6f074c340a1addfc (patch)
tree231772994ccd2027ad1a02f4f37d0de1bce2fb4d
parent596d7d3713224fd2bb1dca6f02288a7b2bbc1f2c (diff)
*** empty log message ***
-rw-r--r--Changes5
-rw-r--r--ev.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/Changes b/Changes
index c8cbd5c..7c3fe84 100644
--- a/Changes
+++ b/Changes
@@ -1,7 +1,7 @@
Revision history for libev, a high-performance and full-featured event loop.
- fix a bug where an inotify watcher was added twice, causing
- freezes on hash collisions.
+ freezes on hash collisions (reported and analysed by Graham Leggett).
- new config symbol, EV_USE_CLOCK_SYSCALL, to make libev use
a direct syscall - slower, but no dependency on librt et al.
- assume negative return values != -1 signals success of port_getn
@@ -13,6 +13,9 @@ Revision history for libev, a high-performance and full-featured event loop.
- replaced loop_ref argument of watcher.set (loop) by a direct
ev_loop * in ev++.h, to avoid clashes with functor patch.
- do not try to watch the empty string via inotify.
+ - inotify watchers could be leaked under certain circumstances.
+ - OS X 10.5 is actually even more broken than earlier versions,
+ so fall back to select on that piece of garbage.
3.49 Wed Nov 19 11:26:53 CET 2008
- ev_stat watchers will now use inotify as a mere hint on
diff --git a/ev.c b/ev.c
index 199148a..d851282 100644
--- a/ev.c
+++ b/ev.c
@@ -1272,8 +1272,8 @@ ev_recommended_backends (void)
flags &= ~EVBACKEND_KQUEUE;
#endif
#ifdef __APPLE__
- // flags &= ~EVBACKEND_KQUEUE; for documentation
- flags &= ~EVBACKEND_POLL;
+ // flags &= ~EVBACKEND_KQUEUE & ~EVBACKEND_POLL; for documentation
+ flags &= ~EVBACKEND_SELECT;
#endif
return flags;