summaryrefslogtreecommitdiffstats
path: root/tests/ioTrans.test
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-06-10 03:35:15 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-06-10 03:35:15 (GMT)
commitf572d15108ea68aef3ff8e2c3de3899f8a50f25f (patch)
tree952477ba27e0508e4801d0d507e7d9475fdfe5aa /tests/ioTrans.test
parent903ca7048a4ab89a4962196a979014681d5db909 (diff)
downloadtcl-f572d15108ea68aef3ff8e2c3de3899f8a50f25f.zip
tcl-f572d15108ea68aef3ff8e2c3de3899f8a50f25f.tar.gz
tcl-f572d15108ea68aef3ff8e2c3de3899f8a50f25f.tar.bz2
* generic/tclIORTrans.c (ReflectInput): Fixed a bug triggered by
Pat Thoyts <patthoyts@users.sourceforge.net>. Reset the EOF flag after draining the Tcl level into the result buffer, to make sure that the result buffer will be drained as well by repeated calls to ReflectInput should it contain more than one buffer-full of data. Without that reset the higher I/O system will not call on ReflectInput anymore due to the assumed EOF, thus losing the data which did not fit in the buffer of the call which caused the eof and drain.
Diffstat (limited to 'tests/ioTrans.test')
0 files changed, 0 insertions, 0 deletions