]> git.kaiwu.me - nginx.git/commit
Fixing Linux AIO syscalls return value handling:
authorIgor Sysoev <igor@sysoev.ru>
Fri, 16 Sep 2011 12:43:16 +0000 (12:43 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 16 Sep 2011 12:43:16 +0000 (12:43 +0000)
commit4134b48b68c29536d59521d8f8d156967f0e8a8b
treeee482a985136e8603a010a3cd65223b28078228b
parentc6353a5654bc14a66f5d0a6657b373fca7bce8a3
Fixing Linux AIO syscalls return value handling:
syscall(2) uses usual libc convention, it returns -1 on error and
sets errno. Obsolete _syscall(2) returns negative value of error.

Thanks to Hagai Avrahami.
src/event/modules/ngx_epoll_module.c
src/os/unix/ngx_linux_aio_read.c