Skip to content
Tcl Source Code Check-in [ec89766307]
Login

Check-in [ec89766307]

Overview
Comment: * generic/tclIO.h (CHANNEL_INCLOSE): New flag. Set in * generic/tclIO.c (Tcl_UnregisterChannel): 'Tcl_Close' while the * generic/tclIO.c (Tcl_Close): close callbacks are run. Checked in 'Tcl_Close' and 'Tcl_Unregister' to prevent recursive call of 'close' in the close-callbacks. This is a possible error made by implementors of virtual filesystems based on 'tclvfs', thinking that they have to close the channel in the close handler for the filesystem. * generic/tclIO.c: * generic/tclIO.h: * Not reverting, but #ifdef'ing the changes from May 19, 2004 out of the core. This removes the ***POTENTIAL INCOMPATIBILITY*** for channel drivers it introduced. This has become possible due to Expect gaining a BlockModeProc and now handling blockingg and non-blocking modes correctly. Thus [SF Tcl Bug 943274] is still fixed if a recent enough version of Expect is used. * doc/CrtChannel.3: Added warning about usage of a channel without a BlockModeProc.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ec897663074b212c6ade499ec456b1186d91ca4c
User & Date: andreas_kupries on 2004-07-15 20:46:49.000
Other Links: manifest | tags
Context
2004-07-15
21:17
Added new fix for the Tcl Bug #770053. Now we conditionaly perform the TclFinalizeNotifier in order ... check-in: 663e5a0f11 user: vasiljevic tags: trunk
20:46
* generic/tclIO.h (CHANNEL_INCLOSE): New flag. Set in * generic/tclIO.c (Tcl_UnregisterChan... check-in: ec89766307 user: andreas_kupries tags: trunk
20:19
* generic/tclIOCmd.c (Tcl_PutsObjCmd): Added length check to the old depreceated newline syntax... check-in: 571069b435 user: andreas_kupries tags: trunk
Changes