On Fri, May 30, 2008 at 10:12:45AM -0400, Marc-André Cournoyer <[EMAIL PROTECTED]> wrote: > Perfect, it works now w/ checking the EV_ERROR bit, thx Marc!
No, it doesn't - if you get EV_ERROR for this case then your code is buggy - you *must not* have active watchers with illegal file descriptors. The fact that libev tries to work around your bug doesn't mean it works (in fact, you are relying on luck because this bug isn't 100% detectable in libev). -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] -=====/_/_//_/\_,_/ /_/\_\ _______________________________________________ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev