summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-08-12 15:51:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-08-12 15:51:06 (GMT)
commit68664af7958212281fe1519b50d5182dd5f691d7 (patch)
treeeef310872a4af7e6879c409d9b59681fef945048 /generic
parent1da27825622d4fc96467ee9ad85d57bfe31cbb74 (diff)
parent14959b85abb4ba74717fcef5bac22d502690e66b (diff)
downloadtcl-68664af7958212281fe1519b50d5182dd5f691d7.zip
tcl-68664af7958212281fe1519b50d5182dd5f691d7.tar.gz
tcl-68664af7958212281fe1519b50d5182dd5f691d7.tar.bz2
merge 8.5
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index ed40e0d..afffeb8 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -5209,7 +5209,7 @@ DoReadChars(
}
/* Must clear the BLOCKED flag here since we check before reading */
- ResetFlag(statePtr, CHANNEL_BLOCKED);
+ ResetFlag(statePtr, CHANNEL_BLOCKED|CHANNEL_EOF);
for (copied = 0; (unsigned) toRead > 0; ) {
copiedNow = -1;
if (statePtr->inQueueHead != NULL) {