summaryrefslogtreecommitdiffstats
path: root/changes
diff options
context:
space:
mode:
authorwelch <welch@noemail.net>1998-10-30 00:38:27 (GMT)
committerwelch <welch@noemail.net>1998-10-30 00:38:27 (GMT)
commit476385e62af42439407392ba70b0fb2367a5484c (patch)
treef812290afe768219222e9256236b5169d9ba5820 /changes
parentae133bdf0172444dfef5fcaea80bb3e0613189b7 (diff)
downloadtcl-476385e62af42439407392ba70b0fb2367a5484c.zip
tcl-476385e62af42439407392ba70b0fb2367a5484c.tar.gz
tcl-476385e62af42439407392ba70b0fb2367a5484c.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" FossilOrigin-Name: b31fdd817b4057d1a9e978490f5ea1ed41c2ab9e
Diffstat (limited to 'changes')
-rw-r--r--changes7
1 files changed, 6 insertions, 1 deletions
diff --git a/changes b/changes
index 0ef6d93..000355c 100644
--- a/changes
+++ b/changes
@@ -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)