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 /win | |
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 'win')
0 files changed, 0 insertions, 0 deletions