diff options
author | Kevin B Kenny <kennykb@acm.org> | 2007-05-04 14:59:06 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2007-05-04 14:59:06 (GMT) |
commit | 45ba16a3055b23da16e3275473875be2d863443e (patch) | |
tree | 6b08e2b80a6ce52cf0aee7b58f37d945387ceb74 /generic/tclIO.c | |
parent | 97fe528dbd35dd9aa9d10366f9d9c6a5b6a45a87 (diff) | |
download | tcl-45ba16a3055b23da16e3275473875be2d863443e.zip tcl-45ba16a3055b23da16e3275473875be2d863443e.tar.gz tcl-45ba16a3055b23da16e3275473875be2d863443e.tar.bz2 |
* tests/encoding.test: Modified so that encoding tests happen
in a private namespace, to avoid polluting the global one. This
problem was discovered when running the test suite '-singleproc 1
-skip exec.test' because the 'path' variable in encoding.test
conflicted with the one in io.test.
* tests/io.test: Made more of the working variables private to the
namespace.
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index 26d9724..534556d 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.120 2007/05/01 22:43:49 kennykb Exp $ + * RCS: @(#) $Id: tclIO.c,v 1.121 2007/05/04 14:59:06 kennykb Exp $ */ #include "tclInt.h" @@ -247,7 +247,7 @@ void TclFinalizeIOSubsystem(void) { ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); - Channel *chanPtr; /* Iterates over open channels. */ + Channel *chanPtr = NULL; /* Iterates over open channels. */ ChannelState *statePtr; /* State of channel stack */ int active = 1; /* Flag == 1 while there's still work to do */ |