Mercurial > hg > nginx
diff src/os/unix/ngx_aio_write.c @ 4129:6903dac6ad19
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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 16 Sep 2011 12:43:16 +0000 |
parents | a1d54c705f38 |
children | d620f497c50f |