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

Check-in [91ff646723]

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 | core-8-4-branch
Files: files | file ages | folders
SHA1: 91ff6467230152d7ee06113589b3a4be1c0e2b87
User & Date: andreas_kupries on 2004-07-15 20:46:17.000
Other Links: branch diff | manifest | tags
Context
2004-07-15
21:20
Added new fix for the Tcl Bug #770053. Now we conditionaly perform the TclFinalizeNotifier in order ... check-in: 9ed2ecf626 user: vasiljevic tags: core-8-4-branch
20:46
* generic/tclIO.h (CHANNEL_INCLOSE): New flag. Set in * generic/tclIO.c (Tcl_UnregisterChan... check-in: 91ff646723 user: andreas_kupries tags: core-8-4-branch
20:17
* generic/tclIOCmd.c (Tcl_PutsObjCmd): Added length check to the old depreceated newline syntax... check-in: 3aa9e1bdf5 user: andreas_kupries tags: core-8-4-branch
Changes