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

Comparing libev/ev_linuxaio.c (file contents):
Revision 1.35 by root, Wed Jun 26 00:11:24 2019 UTC vs.
Revision 1.36 by root, Wed Jun 26 07:01:14 2019 UTC

299 299
300 if (iocb->io.aio_buf) 300 if (iocb->io.aio_buf)
301 { 301 {
302 evsys_io_cancel (linuxaio_ctx, &iocb->io, (struct io_event *)0); 302 evsys_io_cancel (linuxaio_ctx, &iocb->io, (struct io_event *)0);
303 /* on relevant kernels, io_cancel fails with EINPROGRES if everything is fine */ 303 /* on relevant kernels, io_cancel fails with EINPROGRES if everything is fine */
304 assert (("libev: linuxaio unexpected io_cancel failed", errno != EINPROGRESS)); 304 assert (("libev: linuxaio unexpected io_cancel failed", errno == EINPROGRESS));
305 } 305 }
306 306
307 if (nev) 307 if (nev)
308 { 308 {
309 iocb->io.aio_buf = 309 iocb->io.aio_buf =

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines