summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-11-25 22:16:03 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-11-25 22:16:03 (GMT)
commit53821a9dc470a3781d0443654e5f6386e1a3fea7 (patch)
tree712cff4d4446880f5e07cdcd184537886fab0a54 /generic/tclIO.c
parent5586d0a81106068b3f3bb8ecc46aef9abf4df258 (diff)
downloadtcl-53821a9dc470a3781d0443654e5f6386e1a3fea7.zip
tcl-53821a9dc470a3781d0443654e5f6386e1a3fea7.tar.gz
tcl-53821a9dc470a3781d0443654e5f6386e1a3fea7.tar.bz2
* generic/tclIO.c (TclFinalizeIOSubsystem): Applied Alexandre
Ferrieux's patch for [Bug 2270477] to prevent infinite looping during finalization of channels not bound to interpreters.
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index d1c7b6b..96659e8 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIO.c,v 1.137.2.7 2008/11/23 19:29:19 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclIO.c,v 1.137.2.8 2008/11/25 22:16:03 andreas_kupries Exp $
*/
#include "tclInt.h"
@@ -364,8 +364,8 @@ TclFinalizeIOSubsystem(void)
*/
chanPtr->instanceData = NULL;
- SetFlag(statePtr, CHANNEL_DEAD);
}
+ SetFlag(statePtr, CHANNEL_DEAD);
}
}