mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
LibC: Make EWOULDBLOCK an alias for EAGAIN
According to POSIX.1 all error codes have to be distinct - with the exception for EAGAIN and EWOULDBLOCK. Other libcs including eglibc and newlib define EWOULDBLOCK as an alias for EAGAIN and some software including OpenTTD expect this behavior.
This commit is contained in:
parent
03f4c48de1
commit
a9f488c55b
2 changed files with 2 additions and 3 deletions
|
@ -338,7 +338,6 @@ const char* const sys_errlist[] = {
|
|||
"No message",
|
||||
"No protocol option",
|
||||
"Not connected",
|
||||
"Operation would block",
|
||||
"Protocol not supported",
|
||||
"Resource deadlock would occur",
|
||||
"Timed out",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue