diff options
author | andreas_kupries <akupries@shaw.ca> | 2008-06-10 03:35:15 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2008-06-10 03:35:15 (GMT) |
commit | f572d15108ea68aef3ff8e2c3de3899f8a50f25f (patch) | |
tree | 952477ba27e0508e4801d0d507e7d9475fdfe5aa /tests/ioTrans.test | |
parent | 903ca7048a4ab89a4962196a979014681d5db909 (diff) | |
download | tcl-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