ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_select.c
(Generate patch)

Comparing libev/ev_select.c (file contents):
Revision 1.7 by root, Thu Nov 1 13:11:12 2007 UTC vs.
Revision 1.9 by root, Sat Nov 3 09:19:58 2007 UTC

33#include <sys/time.h> 33#include <sys/time.h>
34#include <sys/types.h> 34#include <sys/types.h>
35#include <unistd.h> 35#include <unistd.h>
36 36
37/* for unix systems */ 37/* for unix systems */
38#ifndef WIN32
38#include <sys/select.h> 39# include <sys/select.h>
40#endif
39 41
40#include <string.h> 42#include <string.h>
41#include <inttypes.h> 43#include <inttypes.h>
42 44
43static unsigned char *vec_ri, *vec_ro, *vec_wi, *vec_wo; 45static unsigned char *vec_ri, *vec_ro, *vec_wi, *vec_wo;
114 } 116 }
115 } 117 }
116 else if (res < 0) 118 else if (res < 0)
117 { 119 {
118 if (errno == EBADF) 120 if (errno == EBADF)
121 fd_ebadf ();
122 else if (errno == ENOMEM)
119 fd_recheck (); 123 fd_enomem ();
120 } 124 }
121} 125}
122 126
123static void 127static void
124select_init (int flags) 128select_init (int flags)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines