Mail Archives: djgpp-workers/1998/03/09/20:43:09
At 06:30 3/9/1998 +0200, Eli Zaretskii wrote:
>
>On Mon, 9 Mar 1998, Salvador Eduardo Tropea (SET) wrote:
>
>> It sounds better than having an errno too different than the UNIX one.
>
>I would definitely NOT change errno. Too many programs say things like
>"if (errno == EEXIST)" etc.
I understood the suggestion not to be changing the `errno' macros, but
rather their actual values. i.e. say
#define EEXIST 123
if 123 is DOS's error code for "file exists".
But I still think the `_dos_errno' approach is better.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -