summaryrefslogtreecommitdiffstats
path: root/generic/tclIOUtil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-22 21:36:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-22 21:36:21 (GMT)
commit8726aabaded70c01ab3fac21162ce53b220b81ea (patch)
tree47b050309f5ad0865f97743d42ff1ebb570deb96 /generic/tclIOUtil.c
parentd14ab3904746a34a3916f45e037b6df3ecff10fa (diff)
parent566db2779b71036ff40e31affc73126c2a090773 (diff)
downloadtcl-8726aabaded70c01ab3fac21162ce53b220b81ea.zip
tcl-8726aabaded70c01ab3fac21162ce53b220b81ea.tar.gz
tcl-8726aabaded70c01ab3fac21162ce53b220b81ea.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r--generic/tclIOUtil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 21d7c67..8b5508f 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -1225,7 +1225,9 @@ FsAddMountsToGlobResult(
len--;
}
len++; /* account for '/' in the mElt [Bug 1602539] */
- mElt = TclNewFSPathObj(pathPtr, mount + len, mlen - len);
+
+ mElt = TclNewFSPathObj(pathPtr, mount + len, mlen - len
+ , TclFSPathEncoding(NULL, pathPtr));
Tcl_ListObjAppendElement(NULL, resultPtr, mElt);
}
/*