Skip to content

Commit f5a408d

Browse files
gmsoft-tuxicomanhdeller
authored andcommitted
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: Guy Martin <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 9391bc7 commit f5a408d

File tree

1 file changed

+1
-1
lines changed
  • arch/parisc/include/uapi/asm

1 file changed

+1
-1
lines changed

arch/parisc/include/uapi/asm/errno.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106

107107
#define EALREADY 244 /* Operation already in progress */
108108
#define EINPROGRESS 245 /* Operation now in progress */
109-
#define EWOULDBLOCK 246 /* Operation would block (Linux returns EAGAIN) */
109+
#define EWOULDBLOCK EAGAIN /* Operation would block (Not HPUX compliant) */
110110
#define ENOTEMPTY 247 /* Directory not empty */
111111
#define ENAMETOOLONG 248 /* File name too long */
112112
#define ELOOP 249 /* Too many symbolic links encountered */

0 commit comments

Comments
 (0)