summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-08-21 14:56:27 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-08-21 14:56:27 (GMT)
commitcf3ed398bebbbfd6f95b102ff5cd6e0ba68d8602 (patch)
tree2076b8afe07d439719c80ad50337bb6e138f2220
parent832279c65a06e9902986eb205dab78277687ee9a (diff)
downloadtcl-cf3ed398bebbbfd6f95b102ff5cd6e0ba68d8602.zip
tcl-cf3ed398bebbbfd6f95b102ff5cd6e0ba68d8602.tar.gz
tcl-cf3ed398bebbbfd6f95b102ff5cd6e0ba68d8602.tar.bz2
* generic/tclIOUtil.c: Revisions to complete the thread finalization
of the cwdPathPtr. [Bug 1536142]
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclIOUtil.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a652ec4..8d9a571 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-21 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclIOUtil.c: Revisions to complete the thread finalization
+ of the cwdPathPtr. [Bug 1536142]
+
2006-08-21 Daniel Steffen <das@users.sourceforge.net>
* macosx/tclMacOSXNotify.c (Tcl_WaitForEvent): if the run loop is
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 55e8b32..b5cf2ec 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.77.2.29 2006/03/28 10:52:38 das Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.77.2.30 2006/08/21 14:56:28 dgp Exp $
*/
#include "tclInt.h"
@@ -546,6 +546,7 @@ FsThrExitProc(cd)
/* Trash the cwd copy */
if (tsdPtr->cwdPathPtr != NULL) {
Tcl_DecrRefCount(tsdPtr->cwdPathPtr);
+ tsdPtr->cwdPathPtr = NULL;
}
/* Trash the filesystems cache */
fsRecPtr = tsdPtr->filesystemList;
@@ -556,6 +557,7 @@ FsThrExitProc(cd)
}
fsRecPtr = tmpFsRecPtr;
}
+ tsdPtr->initialized = 0;
}
int