summaryrefslogtreecommitdiffstats
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
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]
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclIOUtil.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 333f627..07fb907 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 Donal K. Fellows <donal.k.fellows@manchester.ac.uk>
* win/Makefile.in (gdb): Make this target work so that debugging an
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