diff options
author | djm <djm> | 2008-07-04 13:10:49 +0000 |
---|---|---|
committer | djm <djm> | 2008-07-04 13:10:49 +0000 |
commit | 3d2174695a7e606f709dca9dd87a68757c8c437c (patch) | |
tree | 93f94a773f5d4b8d9da5ee426ed02621ee04c19e /defines.h | |
parent | 009f7e35c0a4a367cdfc8db24011e29c342b02ac (diff) | |
download | openssh-3d2174695a7e606f709dca9dd87a68757c8c437c.tar.gz |
- (djm) [atomicio.c channels.c clientloop.c defines.h includes.h]
[packet.c scp.c serverloop.c sftp-client.c ssh-agent.c ssh-keyscan.c]
[sshd.c] Explicitly handle EWOULDBLOCK wherever we handle EAGAIN, on
some platforms (HP nonstop) it is a distinct errno;
bz#1467 reported by sconeu AT yahoo.com; ok dtucker@
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -25,7 +25,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.150 2008/06/13 00:28:57 dtucker Exp $ */ +/* $Id: defines.h,v 1.151 2008/07/04 13:10:49 djm Exp $ */ /* Constants */ @@ -734,4 +734,8 @@ struct winsize { # endif #endif +#ifndef EWOULDBLOCK +# define EWOULDBLOCK EAGAIN +#endif + #endif /* _DEFINES_H */ |