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/tclWinSerial.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/tclWinSerial.c')
-rw-r--r-- | win/tclWinSerial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c index 9961b01..2d12fe1 100644 --- a/win/tclWinSerial.c +++ b/win/tclWinSerial.c @@ -932,7 +932,7 @@ SerialInputProc( bufSize = cStat.cbInQue; } } else { - errno = *errorCode = EAGAIN; + errno = *errorCode = EWOULDBLOCK; return -1; } } else { @@ -1034,7 +1034,7 @@ SerialOutputProc( * the channel is in non-blocking mode. */ - errno = EAGAIN; + errno = EWOULDBLOCK; goto error1; } |