Sam Steingold wrote:
> note that the windows version would have to operate on the values of
> GetLastError() instead of errno.

Native Windows programs have to deal with both GetLastError() and errno.
It would be wrong for an API to handle errno values on Unix but to not
handle errno values on mingw. Also, IMO it is wrong to mix two different
enumerations of values into one, as explained in [1].

Conclusion: If you want some code that deals with GetLastError() values,
it must be a different API than the code that deals with errno values.

Bruno

[1] http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00537.html
-- 
In memoriam Larisa Yudina <http://en.wikipedia.org/wiki/Larisa_Yudina>

Reply via email to