summaryrefslogtreecommitdiffstats
path: root/generic/tclIORChan.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-09-23 16:00:57 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-09-23 16:00:57 (GMT)
commit4fb1c76abea23369b4d961e2b20f900dd0294e82 (patch)
tree894a3a003d265bf40aa247339ed94b0d0c7a8050 /generic/tclIORChan.c
parent55cb367ecb24a49e0fe76b104f6fe709672b066b (diff)
downloadtcl-4fb1c76abea23369b4d961e2b20f900dd0294e82.zip
tcl-4fb1c76abea23369b4d961e2b20f900dd0294e82.tar.gz
tcl-4fb1c76abea23369b4d961e2b20f900dd0294e82.tar.bz2
Protect CopyState buffer from conflicting uses when CopyData() is called
recursively. Also, have ReflectWatch() always give driver a chance to act.
Diffstat (limited to 'generic/tclIORChan.c')
-rw-r--r--generic/tclIORChan.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c
index bbb5b88..2e5fa45 100644
--- a/generic/tclIORChan.c
+++ b/generic/tclIORChan.c
@@ -1508,14 +1508,6 @@ ReflectWatch(
mask &= rcPtr->mode;
- if (mask == rcPtr->interest) {
- /*
- * Same old, same old, why should we do something?
- */
-
- return;
- }
-
rcPtr->interest = mask;
/*