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.12 by root, Wed Oct 29 06:32:48 2008 UTC vs.
Revision 1.13 by root, Fri Nov 21 02:10:34 2008 UTC

87 87
88 ts.tv_sec = (time_t)timeout; 88 ts.tv_sec = (time_t)timeout;
89 ts.tv_nsec = (long)(timeout - (ev_tstamp)ts.tv_sec) * 1e9; 89 ts.tv_nsec = (long)(timeout - (ev_tstamp)ts.tv_sec) * 1e9;
90 res = port_getn (backend_fd, port_events, port_eventmax, &nget, &ts); 90 res = port_getn (backend_fd, port_events, port_eventmax, &nget, &ts);
91 91
92 if (res < 0) 92 if (res == -1)
93 { 93 {
94 if (errno != EINTR && errno != ETIME) 94 if (errno != EINTR && errno != ETIME)
95 ev_syserr ("(libev) port_getn"); 95 ev_syserr ("(libev) port_getn");
96 96
97 return; 97 return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines