summaryrefslogtreecommitdiffstats
path: root/generic/tclLink.c
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-12-18 23:48:39 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-12-18 23:48:39 (GMT)
commit0f677b288fdee4290767e09fdf5b53c15cca5bef (patch)
tree57e2f1fd28e81a55bd9fbdfed4fee4cfa375d6a0 /generic/tclLink.c
parent995eb54922eaaa97c8591d1368a1414bbf8aa22d (diff)
downloadtcl-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 'generic/tclLink.c')
0 files changed, 0 insertions, 0 deletions