diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-11-24 22:12:57 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-11-24 22:12:57 (GMT) |
commit | 738d6fffd4656d1b1d072ebe1504f259ba503eb6 (patch) | |
tree | 7cce882d13abfd0bc638d0e6196d9f12c1b48d33 /win/tclWinPipe.c | |
parent | 7dafa85d139a21b67055fc0d9a90c640a3ba36be (diff) | |
parent | be6ed41db2f292c42a40c9e4da6bbc21884a3b54 (diff) | |
download | tcl-738d6fffd4656d1b1d072ebe1504f259ba503eb6.zip tcl-738d6fffd4656d1b1d072ebe1504f259ba503eb6.tar.gz tcl-738d6fffd4656d1b1d072ebe1504f259ba503eb6.tar.bz2 |
merge trunk
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r-- | win/tclWinPipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c index 88497d2..b0e830f 100644 --- a/win/tclWinPipe.c +++ b/win/tclWinPipe.c @@ -1884,7 +1884,7 @@ PipeClose2Proc( SetEvent(pipePtr->stopWriter); if (WaitForSingleObject(pipePtr->writable, 0) == WAIT_TIMEOUT) { - return EAGAIN; + return EWOULDBLOCK; } } else { @@ -2161,7 +2161,7 @@ PipeOutputProc( * the channel is in non-blocking mode. */ - errno = EAGAIN; + errno = EWOULDBLOCK; goto error; } @@ -2712,7 +2712,7 @@ WaitForRead( * is in non-blocking mode. */ - errno = EAGAIN; + errno = EWOULDBLOCK; return -1; } |