Commit f5a408d5 authored by Guy Martin's avatar Guy Martin Committed by Helge Deller

parisc: Make EWOULDBLOCK be equal to EAGAIN on parisc

On Linux, only parisc uses a different value for EWOULDBLOCK which
causes a lot of troubles for applications not checking for both values.
Since the hpux compat is long dead, make EWOULDBLOCK behave the same as
all other architectures.
Signed-off-by: default avatarGuy Martin <gmsoft@tuxicoman.be>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 9391bc77
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
#define EALREADY 244 /* Operation already in progress */ #define EALREADY 244 /* Operation already in progress */
#define EINPROGRESS 245 /* Operation now in progress */ #define EINPROGRESS 245 /* Operation now in progress */
#define EWOULDBLOCK 246 /* Operation would block (Linux returns EAGAIN) */ #define EWOULDBLOCK EAGAIN /* Operation would block (Not HPUX compliant) */
#define ENOTEMPTY 247 /* Directory not empty */ #define ENOTEMPTY 247 /* Directory not empty */
#define ENAMETOOLONG 248 /* File name too long */ #define ENAMETOOLONG 248 /* File name too long */
#define ELOOP 249 /* Too many symbolic links encountered */ #define ELOOP 249 /* Too many symbolic links encountered */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment