diff options
author | andreas_kupries <akupries@shaw.ca> | 2008-12-18 23:48:39 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2008-12-18 23:48:39 (GMT) |
commit | 0f677b288fdee4290767e09fdf5b53c15cca5bef (patch) | |
tree | 57e2f1fd28e81a55bd9fbdfed4fee4cfa375d6a0 /ChangeLog | |
parent | 995eb54922eaaa97c8591d1368a1414bbf8aa22d (diff) | |
download | tcl-0f677b288fdee4290767e09fdf5b53c15cca5bef.zip tcl-0f677b288fdee4290767e09fdf5b53c15cca5bef.tar.gz tcl-0f677b288fdee4290767e09fdf5b53c15cca5bef.tar.bz2 |
* generic/tclIO.c (Tcl_CloseEx,CloseWrite,CloseChannelPart,ChanCloseHalf):
Rewrite the half-close to properly flush the channel, like is done
for a full close, going through FlushChannel, and using the flag
BG_FLUSH_SCHEDULED (async flush during close). New functions
CloseWrite, CloseChannelPart, new flag CHANNEL_CLOSEDWRITE.
* tests/chanio.test (chanio-28.[67]): Reactivated these
tests. Replaced tclsh -> [interpreter] to get correct executable
for the pipe process, and added after cancel to kill the fail
timers when we are done. Removed the explicits calls to [flush],
now that [close] handles this correctly.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2008-12-18 Andreas Kupries <andreask@activestate.com> + + * generic/tclIO.c (Tcl_CloseEx,CloseWrite,CloseChannelPart,ChanCloseHalf): + Rewrite the half-close to properly flush the channel, like is done + for a full close, going through FlushChannel, and using the flag + BG_FLUSH_SCHEDULED (async flush during close). New functions + CloseWrite, CloseChannelPart, new flag CHANNEL_CLOSEDWRITE. + + * tests/chanio.test (chanio-28.[67]): Reactivated these + tests. Replaced tclsh -> [interpreter] to get correct executable + for the pipe process, and added after cancel to kill the fail + timers when we are done. Removed the explicits calls to [flush], + now that [close] handles this correctly. + 2008-12-18 Don Porter <dgp@users.sourceforge.net> * generic/tclExecute.c: Disabled apparently faulty assertion. |