summaryrefslogtreecommitdiffstats
path: root/generic/tclPathObj.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2019-10-26 17:47:12 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2019-10-26 17:47:12 (GMT)
commit4b994916bd049263c3a32b52d6c067b6f31dedcd (patch)
tree1c12e410e6673afc40b460489d8728f435e46ed7 /generic/tclPathObj.c
parent0c8bc1d8c271d764a054cda2cb12bce5e42761dc (diff)
downloadtcl-4b994916bd049263c3a32b52d6c067b6f31dedcd.zip
tcl-4b994916bd049263c3a32b52d6c067b6f31dedcd.tar.gz
tcl-4b994916bd049263c3a32b52d6c067b6f31dedcd.tar.bz2
More simple fix for [bcd100410465], stale cached file FsPath object.
Diffstat (limited to 'generic/tclPathObj.c')
-rw-r--r--generic/tclPathObj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclPathObj.c b/generic/tclPathObj.c
index 2fa93d8..f7f1c8f 100644
--- a/generic/tclPathObj.c
+++ b/generic/tclPathObj.c
@@ -2053,6 +2053,7 @@ Tcl_FSGetInternalRep(
nativePathPtr = proc(pathPtr);
srcFsPathPtr = PATHOBJ(pathPtr);
srcFsPathPtr->nativePathPtr = nativePathPtr;
+ srcFsPathPtr->filesystemEpoch = TclFSEpoch();
}
return srcFsPathPtr->nativePathPtr;