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

Comparing libev/ev_epoll.c (file contents):
Revision 1.64 by root, Mon Jun 27 21:51:52 2011 UTC vs.
Revision 1.65 by root, Tue Nov 1 00:17:15 2011 UTC

236epoll_init (EV_P_ int flags) 236epoll_init (EV_P_ int flags)
237{ 237{
238#ifdef EPOLL_CLOEXEC 238#ifdef EPOLL_CLOEXEC
239 backend_fd = epoll_create1 (EPOLL_CLOEXEC); 239 backend_fd = epoll_create1 (EPOLL_CLOEXEC);
240 240
241 if (backend_fd <= 0) 241 if (backend_fd < 0)
242#endif 242#endif
243 backend_fd = epoll_create (256); 243 backend_fd = epoll_create (256);
244 244
245 if (backend_fd < 0) 245 if (backend_fd < 0)
246 return 0; 246 return 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines