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)
commit9bcf18e01062dae247d68266f284e415ea7ccf35 (patch)
tree894a3a003d265bf40aa247339ed94b0d0c7a8050 /generic/tclIORChan.c
parentdf9835efa102a51b0817487304ac59dd9f51985e (diff)
downloadtcl-9bcf18e01062dae247d68266f284e415ea7ccf35.zip
tcl-9bcf18e01062dae247d68266f284e415ea7ccf35.tar.gz
tcl-9bcf18e01062dae247d68266f284e415ea7ccf35.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;
/*