diff options
author | welch <welch> | 1998-10-30 00:38:28 (GMT) |
---|---|---|
committer | welch <welch> | 1998-10-30 00:38:28 (GMT) |
commit | 87056a32f65f4451dea20f209b70ca64277453ad (patch) | |
tree | f812290afe768219222e9256236b5169d9ba5820 /changes | |
parent | 4cc4398f8553944112e0594446a0b88c3fa96e7a (diff) | |
download | tcl-87056a32f65f4451dea20f209b70ca64277453ad.zip tcl-87056a32f65f4451dea20f209b70ca64277453ad.tar.gz tcl-87056a32f65f4451dea20f209b70ca64277453ad.tar.bz2 |
Fixed the Tcl_NotifyChannel bug, plus added a test case for it.
Simply replaced Tcl_RegisterChannel/UnregisterChannel with
Tcl_Preserve/Tcl_Release was all it took. Chanels are already
"eventually freed"
Diffstat (limited to 'changes')
-rw-r--r-- | changes | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,6 @@ Recent user-visible changes to Tcl: -RCS: @(#) $Id: changes,v 1.29 1998/10/23 22:22:02 welch Exp $ +RCS: @(#) $Id: changes,v 1.30 1998/10/30 00:38:28 welch Exp $ 1. No more [command1] [command2] construct for grouping multiple commands on a single command line. @@ -3655,3 +3655,8 @@ it searched for the initialization script. tclInitScript.h was incorrectly adding the parent of tcl_library to tcl_pkgPath. This logic was moved into init.tcl, and the initialization of auto_path was documented. Thanks to Donald Porter and Tom Silva for related patches. (BW) + +10/29/98 (bug fix) Fixed Tcl_NotifyChannel to use Tcl_Preserve instead +of Tcl_RegisterChannel so that 1) unregistered channels do not get +closed after their first fileevent, and 2) errors that occur during +close in a fileevent script are actually reflected by the close command. (BW) |