Manifest of check-in
[2cb6ab45d5]
-
* 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.
by
andreas_kupries on
2008-12-18 23:48:39.
B d95fd6c80554447899daa9eefe4da62d7a77972e
C \n\t*\sgeneric/tclIO.c\s(Tcl_CloseEx,CloseWrite,CloseChannelPart,ChanCloseHalf):\n\tRewrite\sthe\shalf-close\sto\sproperly\sflush\sthe\schannel,\slike\sis\sdone\n\tfor\sa\sfull\sclose,\sgoing\sthrough\sFlushChannel,\sand\susing\sthe\sflag\n\tBG_FLUSH_SCHEDULED\s(async\sflush\sduring\sclose).\sNew\sfunctions\n\tCloseWrite,\sCloseChannelPart,\snew\sflag\sCHANNEL_CLOSEDWRITE.\n\n\t*\stests/chanio.test\s(chanio-28.[67]):\sReactivated\sthese\n\ttests.\sReplaced\stclsh\s->\s[interpreter]\sto\sget\scorrect\sexecutable\n\tfor\sthe\spipe\sprocess,\sand\sadded\safter\scancel\sto\skill\sthe\sfail\n\ttimers\swhen\swe\sare\sdone.\sRemoved\sthe\sexplicits\scalls\sto\s[flush],\n\tnow\sthat\s[close]\shandles\sthis\scorrectly.\n
D 2008-12-18T23:48:39
F ChangeLog 76c8a77b007d622139bbe9e28b9f926f74083bb8
F generic/tclExecute.c 546adb6400c597aed4ecd10b5cc134b3e73b3874
F generic/tclIO.c 7d4e5a0140675e04e591357317a3edd6a74e29fd
F generic/tclIO.h 264d928f70ea97617642d7caea146dfb440494fd
F tests/chanio.test a8efd9214987507e955165af8fadbba689393aeb
F unix/configure 8235b5719cfd3bea10e6c6a3b50f7cb36b5fed77 x
F unix/configure.in f5a85f538bd46e1a1573a9e61225d19d2a2f9cc9
F win/Makefile.in c1b4da70753800588d74e18bf93ad4ea328fd30f
P 8216d1eb5cf48a1a3ad1479b7e2ccbd49d6b8d90
U andreas_kupries
Z fc22face2cdf7b5a1ba8ebfbcb5d0efc