diff options
| author | mdejong <mdejong> | 2003-03-06 20:14:38 (GMT) |
|---|---|---|
| committer | mdejong <mdejong> | 2003-03-06 20:14:38 (GMT) |
| commit | da9e36633499c3e8d13cced40652a3d99e6b5bbb (patch) | |
| tree | 4a5ddae0b2d93a863000f18d1ccbfbf06f9ec9b4 /generic/tclCompCmds.c | |
| parent | 5dbf5f75fe2427b908d5f26aa9b2b75690e6493a (diff) | |
| download | tcl-da9e36633499c3e8d13cced40652a3d99e6b5bbb.zip tcl-da9e36633499c3e8d13cced40652a3d99e6b5bbb.tar.gz tcl-da9e36633499c3e8d13cced40652a3d99e6b5bbb.tar.bz2 | |
* generic/tclIO.c (Tcl_Seek, Tcl_OutputBuffered):
If there is data buffered in the statePtr->curOutPtr
member then set the BUFFER_READY flag in Tcl_Seek.
This is needed so that the next call to FlushChannel
will write any buffered bytes before doing the seek.
The existing code would set the BUFFER_READY flag
inside the Tcl_OutputBuffered function. This was a
programming error made when Tcl_OutputBuffered
was originally created in CVS revision 1.35. The
setting of the BUFFER_READY flag should not have
been included in the Tcl_OutputBuffered function.
* generic/tclTest.c (TestChannelCmd): Use the
Tcl_InputBuffered and Tcl_OutputBuffered
util methods to query the amount of buffered
input and output.
Diffstat (limited to 'generic/tclCompCmds.c')
0 files changed, 0 insertions, 0 deletions
