From 643f2a6c50a99d6414797ba9a6313a02a6530994 Mon Sep 17 00:00:00 2001
From: root <root>
Date: Sat, 26 Feb 2011 15:21:01 +0000
Subject: *** empty log message ***

---
 Changes | 2 ++
 ev.c    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Changes b/Changes
index 6d1d7f2..08c45df 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,8 @@
 Revision history for libev, a high-performance and full-featured event loop.
 
 TODO: ev_loop_prefork hint?
+TODO: ev_loop_wakeup
+TODO: confusion about threads ongiong
 
 	- change the default periodic reschedule function to hopefully be more
           exact and correct even in corner cases or in the far future.
diff --git a/ev.c b/ev.c
index dc737b2..d92b0ed 100644
--- a/ev.c
+++ b/ev.c
@@ -1036,7 +1036,7 @@ fd_reify (EV_P)
       int fd = fdchanges [i];
       ANFD *anfd = anfds + fd;
 
-      if (anfd->reify & EV__IOFDSET)
+      if (anfd->reify & EV__IOFDSET && anfd->head)
         {
           SOCKET handle = EV_FD_TO_WIN32_HANDLE (fd);
 
-- 
cgit v1.2.3