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: |
23b96afaed681f7511ad9e00631ab288 |
| 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
Modified ChangeLog
from [0fc6414337]
to [9d638bb56f].
[diff]
Modified generic/tclIO.c
from [36af492ddd]
to [09bd5142b0].
[diff]
Modified generic/tclTest.c
from [a593859334]
to [e778bc02bf].
[diff]