mirror of
https://github.com/nginx/nginx.git
synced 2026-10-25 13:32:27 +00:00
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. |
||
|---|---|---|
| .. | ||
| unix | ||
| win32 | ||