summaryrefslogtreecommitdiffstats
path: root/generic/tclZipfs.c
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-09-19 06:08:49 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-09-19 06:08:49 (GMT)
commitdfaa1a63ba0dfe659e53ae283d39e22f6e78728a (patch)
tree24e6fde9fd181c04af566d6112f25a850b475c8a /generic/tclZipfs.c
parentc012c43f189507ba5a66157229499dd5f4fb1d8a (diff)
parentb3a28b3f14b388bbf2902c55fcd2145f92bcf624 (diff)
downloadtcl-dfaa1a63ba0dfe659e53ae283d39e22f6e78728a.zip
tcl-dfaa1a63ba0dfe659e53ae283d39e22f6e78728a.tar.gz
tcl-dfaa1a63ba0dfe659e53ae283d39e22f6e78728a.tar.bz2
Merge 8.7 - Bug [4c686f1f0a] - zipfs mount on /
Diffstat (limited to 'generic/tclZipfs.c')
-rw-r--r--generic/tclZipfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c
index c27685b..a9d263d 100644
--- a/generic/tclZipfs.c
+++ b/generic/tclZipfs.c
@@ -1666,9 +1666,8 @@ ZipFSCatalogFilesystem(
Tcl_DStringInit(&dsm);
if (strcmp(mountPoint, "/") == 0) {
mountPoint = "";
- } else {
- mountPoint = CanonicalPath("", mountPoint, &dsm, 1);
}
+ mountPoint = CanonicalPath("", mountPoint, &dsm, 1);
hPtr = Tcl_CreateHashEntry(&ZipFS.zipHash, mountPoint, &isNew);
if (!isNew) {
if (interp) {