summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-08-21 14:56:48 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-08-21 14:56:48 (GMT)
commitf25390269e727c8be50ed17d360459e2249d3592 (patch)
tree5511382c5402ff4dce84ff90c41ffb5310c96d6c /generic/tclIOUtil.c
parent3a2f786739b3bee79525d42d2bb07a8dbc25502d (diff)
downloadtcl-f25390269e727c8be50ed17d360459e2249d3592.zip
tcl-f25390269e727c8be50ed17d360459e2249d3592.tar.gz
tcl-f25390269e727c8be50ed17d360459e2249d3592.tar.bz2
* generic/tclIOUtil.c: Revisions to complete the thread finalization
of the cwdPathPtr. [Bug 1536142]
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index c35e319..ccd1e12 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -17,7 +17,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIOUtil.c,v 1.132 2006/06/21 03:10:39 dgp Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.133 2006/08/21 14:56:48 dgp Exp $
*/
#include "tclInt.h"
@@ -470,6 +470,7 @@ FsThrExitProc(
if (tsdPtr->cwdPathPtr != NULL) {
Tcl_DecrRefCount(tsdPtr->cwdPathPtr);
+ tsdPtr->cwdPathPtr = NULL;
}
if (tsdPtr->cwdClientData != NULL) {
NativeFreeInternalRep(tsdPtr->cwdClientData);
@@ -487,6 +488,7 @@ FsThrExitProc(
}
fsRecPtr = tmpFsRecPtr;
}
+ tsdPtr->initialized = 0;
}
int