summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authorkupries <kupries@noemail.net>2000-04-05 19:00:40 (GMT)
committerkupries <kupries@noemail.net>2000-04-05 19:00:40 (GMT)
commitcf81a3df353953da9ec5e93278903c7ce2fb2ce2 (patch)
treea8ee6272acca327ae25eb2723099871f36756adc /generic/tclIO.c
parent2b47a32021ae3ddd5d9bd15be571f8dafc090b58 (diff)
downloadtcl-cf81a3df353953da9ec5e93278903c7ce2fb2ce2.zip
tcl-cf81a3df353953da9ec5e93278903c7ce2fb2ce2.tar.gz
tcl-cf81a3df353953da9ec5e93278903c7ce2fb2ce2.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: ??]. FossilOrigin-Name: 52b3ac564c13860e07a86c0d266588721d594dca
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 {