nginx/src/os
Valentin Bartenev 604e18fb2c Use NGX_FILE_ERROR for handling file operations errors.
On Win32 platforms 0 is used to indicate errors in file operations, so
comparing against -1 is not portable.

This was not much of an issue in patched code, since only ngx_fd_info() test
is actually reachable on Win32 and in worst case it might result in bogus
error log entry.

Patch by Piotr Sikora.
2013-03-25 15:49:11 +00:00
..
unix Use NGX_FILE_ERROR for handling file operations errors. 2013-03-25 15:49:11 +00:00
win32 Win32: disabled MSVC warning about '\0' not fitting into array. 2013-03-20 10:18:26 +00:00