summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authormdejong <mdejong>2003-03-06 10:10:19 (GMT)
committermdejong <mdejong>2003-03-06 10:10:19 (GMT)
commit5dbf5f75fe2427b908d5f26aa9b2b75690e6493a (patch)
treee2d1fc5e8cd617983609e95e0c820f1d59f162d9 /generic/tclTest.c
parent322a1130388bff49aa08e3f10f568936b5a8366b (diff)
downloadtcl-5dbf5f75fe2427b908d5f26aa9b2b75690e6493a.zip
tcl-5dbf5f75fe2427b908d5f26aa9b2b75690e6493a.tar.gz
tcl-5dbf5f75fe2427b908d5f26aa9b2b75690e6493a.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 'generic/tclTest.c')
0 files changed, 0 insertions, 0 deletions