Francois Gouget <fgouget(a)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(a)winehq.com