uae-avoid-dups-20060914

avoid duplicates in the errno space so we don't return the wrong error (something unexpected)
This commit is contained in:
Tom Keiser 2006-09-15 00:58:24 +00:00 committed by Derrick Brashear
parent 975897d476
commit 914b2e27dc

View File

@ -7243,9 +7243,13 @@ init_sys_error_to_et(void)
sys2et[ENAMETOOLONG] = UAENAMETOOLONG;
sys2et[ENOLCK] = UAENOLCK;
sys2et[ENOSYS] = UAENOSYS;
#if (ENOTEMPTY != EEXIST)
sys2et[ENOTEMPTY] = UAENOTEMPTY;
#endif
sys2et[ELOOP] = UAELOOP;
#if (EWOULDBLOCK != EAGAIN)
sys2et[EWOULDBLOCK] = UAEWOULDBLOCK;
#endif
sys2et[ENOMSG] = UAENOMSG;
sys2et[EIDRM] = UAEIDRM;
sys2et[ECHRNG] = UAECHRNG;