[PATCH] Core: use NGX_FILE_ERROR when appropriate
Maxim Dounin
mdounin at mdounin.ru
Mon Mar 25 14:41:28 UTC 2013
Hello!
On Mon, Mar 25, 2013 at 06:15:56PM +0400, Valentin V. Bartenev wrote:
> On Thursday 21 March 2013 08:04:24 Piotr Sikora wrote:
> > Hey guys,
> > attached patch changes "if" tests to use "== NGX_FILE_ERROR" instead of
> > "== -1" or "!= NGX_OK", because NGX_FILE_ERROR is defined as -1 on UNIX,
> > but as 0 on Win32.
>
> The patch looks good. I'll commit it as soon as Maxim acknowledges.
> Thank you.
Looks fine, please commit.
--
Maxim Dounin
http://nginx.org/en/donation.html
More information about the nginx-devel
mailing list