mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-25 03:24:15 +08:00
- (dtucker) [atomicio.c] Test for EWOULDBLOCK in atomiciov to match
atomicio.
This commit is contained in:
parent
ae09cb8a71
commit
9e223240ac
@ -20,6 +20,8 @@
|
||||
[channels.c]
|
||||
Correct test for window updates every three packets; prevents sending
|
||||
window updates for every single packet. ok markus@
|
||||
- (dtucker) [atomicio.c] Test for EWOULDBLOCK in atomiciov to match
|
||||
atomicio.
|
||||
|
||||
20070614
|
||||
- (dtucker) [cipher-ctr.c umac.c openbsd-compat/openssl-compat.h] Move the
|
||||
@ -3095,4 +3097,4 @@
|
||||
OpenServer 6 and add osr5bigcrypt support so when someone migrates
|
||||
passwords between UnixWare and OpenServer they will still work. OK dtucker@
|
||||
|
||||
$Id: ChangeLog,v 1.4707 2007/06/25 09:04:46 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.4708 2007/06/25 09:06:53 dtucker Exp $
|
||||
|
@ -101,7 +101,11 @@ atomiciov(ssize_t (*f) (int, const struct iovec *, int), int fd,
|
||||
res = (f) (fd, iov, iovcnt);
|
||||
switch (res) {
|
||||
case -1:
|
||||
#ifdef EWOULDBLOCK
|
||||
if (errno == EINTR || errno == EWOULDBLOCK)
|
||||
#else
|
||||
if (errno == EINTR)
|
||||
#endif
|
||||
continue;
|
||||
if (errno == EAGAIN) {
|
||||
(void)poll(&pfd, 1, -1);
|
||||
|
Loading…
Reference in New Issue
Block a user