[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: set_errno patch
From:       Alexandre Julliard <julliard () winehq ! com>
Date:       2001-05-31 21:49:42
[Download RAW message or body]

Francois Gouget <fgouget@free.fr> writes:

>    MSVCRT__set_errno should be able to set errno to 0. It's called at
> least once explicitly with 0 in dir.c, but many other times it is
> called with a GetLastError() that may return 0.

I don't think it is ever correct to set errno to 0. Code that does
that should be fixed to provide a valid error code instead.

-- 
Alexandre Julliard
julliard@winehq.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic