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

Comparing libev/ev_port.c (file contents):
Revision 1.23 by root, Mon Jan 10 13:53:49 2011 UTC vs.
Revision 1.24 by root, Mon Jan 10 13:58:05 2011 UTC

141{ 141{
142 /* Initialize the kernel queue */ 142 /* Initialize the kernel queue */
143 if ((backend_fd = port_create ()) < 0) 143 if ((backend_fd = port_create ()) < 0)
144 return 0; 144 return 0;
145 145
146 assert (("libev: PORT_SOURCE_FD must not be zero"), PORT_SOURCE_FD); 146 assert (("libev: PORT_SOURCE_FD must not be zero", PORT_SOURCE_FD));
147 147
148 fcntl (backend_fd, F_SETFD, FD_CLOEXEC); /* not sure if necessary, hopefully doesn't hurt */ 148 fcntl (backend_fd, F_SETFD, FD_CLOEXEC); /* not sure if necessary, hopefully doesn't hurt */
149 149
150 backend_fudge = 1e-3; /* needed to compensate for port_getn returning early */ 150 backend_fudge = 1e-3; /* needed to compensate for port_getn returning early */
151 backend_modify = port_modify; 151 backend_modify = port_modify;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines