diff options
| author | dgp <dgp@users.sourceforge.net> | 2006-08-21 14:56:27 (GMT) |
|---|---|---|
| committer | dgp <dgp@users.sourceforge.net> | 2006-08-21 14:56:27 (GMT) |
| commit | e93ab7dee7dbd2bd84e6b7ba294c0f372b2a3d3c (patch) | |
| tree | 2076b8afe07d439719c80ad50337bb6e138f2220 /generic/tclIOUtil.c | |
| parent | 0d29d7fc9f236c7ec2d56997470fc39205bd68ab (diff) | |
| download | tcl-e93ab7dee7dbd2bd84e6b7ba294c0f372b2a3d3c.zip tcl-e93ab7dee7dbd2bd84e6b7ba294c0f372b2a3d3c.tar.gz tcl-e93ab7dee7dbd2bd84e6b7ba294c0f372b2a3d3c.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.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
