diff options
author | kupries <kupries> | 2000-04-05 19:00:40 (GMT) |
---|---|---|
committer | kupries <kupries> | 2000-04-05 19:00:40 (GMT) |
commit | 9981a09892b47d4fc698dbeb2c848635f045b86a (patch) | |
tree | a8ee6272acca327ae25eb2723099871f36756adc | |
parent | a69e9645e4f689b1be8ff30844a9ff4dc5535ae4 (diff) | |
download | tcl-9981a09892b47d4fc698dbeb2c848635f045b86a.zip tcl-9981a09892b47d4fc698dbeb2c848635f045b86a.tar.gz tcl-9981a09892b47d4fc698dbeb2c848635f045b86a.tar.bz2 |
2000-04-05 Andreas Kupries <a.kupries@westend.com>
* generic/tclIO.c (Tcl_UnstackChannel, line 1831): Forcing interest
mask to the correct value after an unstack and re-initialization
of the notifier via the watchProc. Without this the first
fileevent after an unstack will come through and be processed,
but no more. [Bug: ??].
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | generic/tclIO.c | 3 |
2 files changed, 10 insertions, 1 deletions
@@ -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 { |