Manifest of check-in
[f7c5ccc73c]
- * 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.
by
mdejong on
2003-03-06 10:10:19.
B e22b36d8b67106fb20326541493b9613417d7fee
C \t*\sgeneric/tclIO.c\s(Tcl_Flush):\sCompare\sthe\n\tnextAdded\smember\sof\sthe\sChannelBuffer\sto\sthe\n\tnextRemoved\smember\sto\sdetermine\sif\sany\soutput\n\thas\sbeen\sbuffered.\sThe\sprevious\scheck\sagainst\n\tthe\svalue\s0\sseems\sto\shave\sjust\sbeen\sa\scoding\n\terror.\sSee\sother\smethods\slike\sTcl_OutputBuffered\n\tfor\sexamples\swhere\snextAdded\sis\scompared\sto\n\tnextRemoved\sto\sfind\sthe\snumber\sof\sbytes\sbuffered.\n
D 2003-03-06T10:10:19
F ChangeLog 0fc64143370bae11d7004640b218364a4abd7f2e
F generic/tclIO.c 36af492ddde44c88d3b6043dfbbd331d7517834c
F tests/io.test 7179541fdb26c8f52c828404615d7d93397ce674
P f2e6fa75cacfe15f5132831a529d415a3636aa39
U mdejong
Z 0cbf88129bfa65073115e4082d4b6301