ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV-Glib/Glib.xs
(Generate patch)

Comparing EV-Glib/Glib.xs (file contents):
Revision 1.7 by root, Thu Dec 20 07:18:17 2007 UTC vs.
Revision 1.8 by root, Sat Jan 31 09:48:22 2009 UTC

113 GPollFD *pfd = ctx->pfd + i; 113 GPollFD *pfd = ctx->pfd + i;
114 int revents = ev_clear_pending (EV_A, iow); 114 int revents = ev_clear_pending (EV_A, iow);
115 115
116 pfd->revents |= pfd->events & 116 pfd->revents |= pfd->events &
117 ((revents & EV_READ ? G_IO_IN : 0) 117 ((revents & EV_READ ? G_IO_IN : 0)
118 | (revents & EV_READ ? G_IO_OUT : 0)); 118 | (revents & EV_WRITE ? G_IO_OUT : 0));
119 } 119 }
120 120
121 ev_io_stop (EV_A, iow); 121 ev_io_stop (EV_A, iow);
122 } 122 }
123 123

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines