summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authorkupries <kupries>2000-04-05 19:00:40 (GMT)
committerkupries <kupries>2000-04-05 19:00:40 (GMT)
commit9981a09892b47d4fc698dbeb2c848635f045b86a (patch)
treea8ee6272acca327ae25eb2723099871f36756adc /generic/tclIO.c
parenta69e9645e4f689b1be8ff30844a9ff4dc5535ae4 (diff)
downloadtcl-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: ??].
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c3
1 files changed, 2 insertions, 1 deletions
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 {