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.51 by root, Wed Apr 21 13:13:18 2010 UTC vs.
Revision 1.52 by sf-exg, Sat Jul 31 23:00:11 2010 UTC

168 168
169 /* pre-2.6.9 kernels require a non-null pointer with EPOLL_CTL_DEL, */ 169 /* pre-2.6.9 kernels require a non-null pointer with EPOLL_CTL_DEL, */
170 /* which is fortunately easy to do for us. */ 170 /* which is fortunately easy to do for us. */
171 if (epoll_ctl (backend_fd, want ? EPOLL_CTL_MOD : EPOLL_CTL_DEL, fd, ev)) 171 if (epoll_ctl (backend_fd, want ? EPOLL_CTL_MOD : EPOLL_CTL_DEL, fd, ev))
172 { 172 {
173 postfork = 1; /* an error occured, recreate kernel state */ 173 postfork = 1; /* an error occurred, recreate kernel state */
174 continue; 174 continue;
175 } 175 }
176 } 176 }
177 177
178 fd_event (EV_A_ fd, got); 178 fd_event (EV_A_ fd, got);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines