summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreask <andreask>2014-08-20 18:59:31 (GMT)
committerandreask <andreask>2014-08-20 18:59:31 (GMT)
commitce04ed5ad3738e95dd60a4f9f4c1a71e87db7071 (patch)
tree25fab1cbfe006d7324b1faa20119e80476313abd
parenteda831ff7e1ffa43a792a3acb3504b1c2d7a2237 (diff)
parentbc9dca8ca6394f96d81662b4eb6a97e77d31bdb5 (diff)
downloadtcl-ce04ed5ad3738e95dd60a4f9f4c1a71e87db7071.zip
tcl-ce04ed5ad3738e95dd60a4f9f4c1a71e87db7071.tar.gz
tcl-ce04ed5ad3738e95dd60a4f9f4c1a71e87db7071.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;