diff options
author | dgp <dgp@users.sourceforge.net> | 2014-12-23 03:11:01 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-12-23 03:11:01 (GMT) |
commit | 1a92fb378c0e8060f433986fb0dc89bd04168a45 (patch) | |
tree | a5328c9e7f0e9394621e84657c6454994d8084af /generic/tclIO.c | |
parent | 52bcb866e5ca12af686bac155a8922480f2b7117 (diff) | |
parent | ef6f1ba2c34bd3243b54d46d23d37392d7bf34ba (diff) | |
download | tcl-1a92fb378c0e8060f433986fb0dc89bd04168a45.zip tcl-1a92fb378c0e8060f433986fb0dc89bd04168a45.tar.gz tcl-1a92fb378c0e8060f433986fb0dc89bd04168a45.tar.bz2 |
merge trunk
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 3 |
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; } |