summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-12-23 03:11:01 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-12-23 03:11:01 (GMT)
commitb49e834f28c9fd688fa615cb5809549c58f65788 (patch)
treea5328c9e7f0e9394621e84657c6454994d8084af /generic/tclIO.c
parent9b9c29e352eb0ae7a048fa4ca8a021a4100d2b40 (diff)
parentdd4496550090acf79f5e144602c745533549eea5 (diff)
downloadtcl-b49e834f28c9fd688fa615cb5809549c58f65788.zip
tcl-b49e834f28c9fd688fa615cb5809549c58f65788.tar.gz
tcl-b49e834f28c9fd688fa615cb5809549c58f65788.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index f8b9bfa..79aa667 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -9216,6 +9216,9 @@ MBWrite(
}
outStatePtr->outQueueTail = tail;
inStatePtr->inQueueHead = bufPtr;
+ if (inStatePtr->inQueueTail == tail) {
+ inStatePtr->inQueueTail = bufPtr;
+ }
if (bufPtr == NULL) {
inStatePtr->inQueueTail = NULL;
}