|
From: Andreas K. <and...@us...> - 2008-06-10 03:35:15
|
Update of /cvsroot/tcl/tcl In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv17926 Modified Files: ChangeLog Log Message: * generic/tclIORTrans.c (ReflectInput): Fixed a bug triggered by Pat Thoyts <pat...@us...>. 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. |