summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2004-07-15 20:46:17 (GMT)
committerandreas_kupries <akupries@shaw.ca>2004-07-15 20:46:17 (GMT)
commit597bb3236aba9dbe1c799b8bde917c1228fd21a1 (patch)
tree6b9b7f812be710b6ab81f81e35ba63a056c6926f /ChangeLog
parent3c87843ad32da0db04bc580121a56049ad5cb367 (diff)
downloadtcl-597bb3236aba9dbe1c799b8bde917c1228fd21a1.zip
tcl-597bb3236aba9dbe1c799b8bde917c1228fd21a1.tar.gz
tcl-597bb3236aba9dbe1c799b8bde917c1228fd21a1.tar.bz2
* 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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog31
1 files changed, 29 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 70bd297..99ffef6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,28 @@
+2004-07-14 Andreas Kupries <andreask@activestate.com>
+
+ * 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.
+
+2004-06-14 Andreas Kupries <andreask@activestate.com>
+
+ * 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.
+
2004-07-15 Andreas Kupries <andreask@pliers.activestate.com>
* generic/tclIOCmd.c (Tcl_PutsObjCmd): Added length check to the
@@ -190,8 +215,8 @@
2004-05-19 Andreas Kupries <andreask@activestate.com>
- * tclIO.c: Fixed [SF Tcl Bug 943274]. This is the same problem as
- * tclIO.h: [SF Tcl Bug 462317], see ChangeLog entry
+ * generic/tclIO.c: Fixed [SF Tcl Bug 943274]. This is the same problem as
+ * generic/tclIO.h: [SF Tcl Bug 462317], see ChangeLog entry
2001-09-26. The fix done at that time is incomplete. It
is possible to get around it if the actual read
operation is defered and not executed in the event
@@ -202,6 +227,8 @@
actual data waiting. The flag is cleared by a short or
full read.
+ ***POTENTIAL INCOMPATIBILITY*** for channel drivers.
+
2004-05-18 Kevin B. Kenny <kennykb@acm.org>
* compat/strftime.c (_fmt, ISO8601Week):