Overview
| Comment: | * 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
2cb6ab45d5f427b4f570bf7b14592a5b |
| User & Date: | andreas_kupries on 2008-12-18 23:48:39.000 |
| Other Links: | manifest | tags |
Context
|
2008-12-19
| ||
| 01:34 | nmake build file support for zlib check-in: 136cc996d7 user: patthoyts tags: trunk | |
|
2008-12-18
| ||
| 23:48 | * generic/tclIO.c (Tcl_CloseEx,CloseWrite,CloseChannelPart,ChanCloseHalf): Rewrite the half-close... check-in: 2cb6ab45d5 user: andreas_kupries tags: trunk | |
| 23:00 | * generic/tclExecute.c: Disabled apparently faulty assertion. [Bug 2415422]. check-in: 8216d1eb5c user: dgp tags: trunk | |
Changes
Modified ChangeLog
from [baf992cadc]
to [76c8a77b00].
[diff]
Modified generic/tclIO.c
from [c1cc541cfc]
to [7d4e5a0140].
[diff]
Modified generic/tclIO.h
from [5af661ff86]
to [264d928f70].
[diff]
Modified tests/chanio.test
from [719920fd74]
to [a8efd92149].
[diff]