diff options
author | mdejong <mdejong> | 2003-03-06 10:10:19 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2003-03-06 10:10:19 (GMT) |
commit | 532758ed47adda0642397dddb71185eb564a7432 (patch) | |
tree | e2d1fc5e8cd617983609e95e0c820f1d59f162d9 /ChangeLog | |
parent | c2ce0bdf9e6f8693a01148c0a34d49020712fd65 (diff) | |
download | tcl-532758ed47adda0642397dddb71185eb564a7432.zip tcl-532758ed47adda0642397dddb71185eb564a7432.tar.gz tcl-532758ed47adda0642397dddb71185eb564a7432.tar.bz2 |
* generic/tclIO.c (Tcl_Flush): Compare the
nextAdded member of the ChannelBuffer to the
nextRemoved member to determine if any output
has been buffered. The previous check against
the value 0 seems to have just been a coding
error. See other methods like Tcl_OutputBuffered
for examples where nextAdded is compared to
nextRemoved to find the number of bytes buffered.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,16 @@ 2003-03-06 Mo DeJong <mdejong@users.sourceforge.net> + * generic/tclIO.c (Tcl_Flush): Compare the + nextAdded member of the ChannelBuffer to the + nextRemoved member to determine if any output + has been buffered. The previous check against + the value 0 seems to have just been a coding + error. See other methods like Tcl_OutputBuffered + for examples where nextAdded is compared to + nextRemoved to find the number of bytes buffered. + +2003-03-06 Mo DeJong <mdejong@users.sourceforge.net> + * generic/tclIO.c (Tcl_GetsObj): Check that the eol pointer has not gone past the end of the string when in auto translation |