summaryrefslogtreecommitdiffstats
path: root/generic/tclIORChan.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-09-23 16:58:34 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-09-23 16:58:34 (GMT)
commitfe70ef2e7949c720d01eb97b30effc6294794cac (patch)
treee7797faca326702677562ea6a76ce219a161dac5 /generic/tclIORChan.c
parent401ea793a5691a5dc91795371922de138ea7f68c (diff)
parente52bf0ecd422e64401d71475c5995f18c49c8561 (diff)
downloadtcl-fe70ef2e7949c720d01eb97b30effc6294794cac.zip
tcl-fe70ef2e7949c720d01eb97b30effc6294794cac.tar.gz
tcl-fe70ef2e7949c720d01eb97b30effc6294794cac.tar.bz2
[32ae34e63a] Prevent segfaults and data corruption when CopyData() is called recursively.
Mark new test io-53.20 as "knownBug". It demos some unknown flaw in MoveBytes().
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 21c766e..a387410 100644
--- a/generic/tclIORChan.c
+++ b/generic/tclIORChan.c
@@ -1601,14 +1601,6 @@ ReflectWatch(
mask &= rcPtr->mode;
- if (mask == rcPtr->interest) {
- /*
- * Same old, same old, why should we do something?
- */
-
- return;
- }
-
rcPtr->interest = mask;
/*