Skip to content

Commit

Permalink
parisc: Make EWOULDBLOCK be equal to EAGAIN on parisc
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
gmsoft-tuxicoman authored and hdeller committed Feb 2, 2014
1 parent 9391bc7 commit f5a408d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/parisc/include/uapi/asm/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@

#define EALREADY 244 /* Operation already 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 ENAMETOOLONG 248 /* File name too long */
#define ELOOP 249 /* Too many symbolic links encountered */
Expand Down

0 comments on commit f5a408d

Please sign in to comment.