--- libev/ev.c 2010/07/31 22:33:26 1.345 +++ libev/ev.c 2010/10/14 05:07:04 1.346 @@ -1283,6 +1283,11 @@ } else #endif + /* win32 people keep sending patches that change this write() to send() */ + /* and then run away. but send() is wrong, it wants a socket handle on win32 */ + /* so when you think this write should be a send instead, please find out */ + /* where your send() is from - it's definitely not the microsoft send, and */ + /* tell me. thank you. */ write (evpipe [1], &dummy, 1); errno = old_errno; @@ -1306,6 +1311,7 @@ #endif { char dummy; + /* see discussion in evpipe_write when you think this read should be recv in win32 */ read (evpipe [0], &dummy, 1); }