Skip to content
Tcl Source Code Check-in [23b96afaed]
Login

Check-in [23b96afaed]

Overview
Comment: * 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.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 23b96afaed681f7511ad9e00631ab288407be4f0
User & Date: mdejong on 2003-03-06 20:14:38.000
Other Links: manifest | tags
Context
2003-03-06
23:17
Replaced a non-portable 'bzero' with a portable 'memset'. [Bug 698442]. check-in: 3dee775ae7 user: kennykb tags: trunk
20:14
* generic/tclIO.c (Tcl_Seek, Tcl_OutputBuffered): If there is data buffered in the statePtr->curOu... check-in: 23b96afaed user: mdejong tags: trunk
10:10
* generic/tclIO.c (Tcl_Flush): Compare the nextAdded member of the ChannelBuffer to the nextRemov... check-in: f7c5ccc73c user: mdejong tags: trunk
Changes