summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreask <andreask>2014-08-20 18:59:31 (GMT)
committerandreask <andreask>2014-08-20 18:59:31 (GMT)
commit1701073d70f7be8200bd59362047199dedbd60b6 (patch)
tree25fab1cbfe006d7324b1faa20119e80476313abd
parent12c37823c6a4f23e3d4692d06909143077af8493 (diff)
parent8339de0c86602b9b9aeea1efb6245c4e47411884 (diff)
downloadtcl-1701073d70f7be8200bd59362047199dedbd60b6.zip
tcl-1701073d70f7be8200bd59362047199dedbd60b6.tar.gz
tcl-1701073d70f7be8200bd59362047199dedbd60b6.tar.bz2
Fix reviewed and accepted.
-rw-r--r--generic/tclIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index afffeb8..4452ae9 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -7716,7 +7716,7 @@ Tcl_NotifyChannel(
if ((chPtr->mask & mask) != 0) {
nh.nextHandlerPtr = chPtr->nextPtr;
- (*(chPtr->proc))(chPtr->clientData, mask);
+ (*(chPtr->proc))(chPtr->clientData, chPtr->mask & mask);
chPtr = nh.nextHandlerPtr;
} else {
chPtr = chPtr->nextPtr;