summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--generic/tclIO.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ce98788..8d0b251 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-04-05 Andreas Kupries <a.kupries@westend.com>
+
+ * generic/tclIO.c (Tcl_UnstackChannel, line 1831): Force interest
+ mask to the correct value after an unstack and re-initializing
+ the notifier via the watchProc. Without this the first fileevent
+ after an unstack will come through and be processed, but no
+ more. [Bug: ??].
+
2000-03-04 Brent Welch <welch@scriptics.com>
* {win,unix}/Makefile.in: added dependency of tclStubInit.c on tcl.decls
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 117acaa..f3f91c0 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIO.c,v 1.19 1999/12/21 23:58:03 hobbs Exp $
+ * RCS: @(#) $Id: tclIO.c,v 1.20 2000/04/05 19:00:41 kupries Exp $
*/
#include "tclInt.h"
@@ -1828,6 +1828,7 @@ Tcl_UnstackChannel (interp, chan)
chanPtr->interestMask = 0;
(chanPtr->typePtr->watchProc) (chanPtr->instanceData,
interest);
+ chanPtr->interestMask = interest;
}
} else {