summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2018-05-08 09:56:35 (GMT)
committersebres <sebres@users.sourceforge.net>2018-05-08 09:56:35 (GMT)
commit8fd1568405890e88c8efda4776fdff92e570b1f1 (patch)
tree40b0a261e5b42451870767e753f16363b647c279 /unix/tclUnixFile.c
parent5f0cf291f513b75b00ea3d59842b83dc24047c1c (diff)
parent78ee8c697e423a5b4718fabb53eef1c5f6a2a2b1 (diff)
downloadtcl-8fd1568405890e88c8efda4776fdff92e570b1f1.zip
tcl-8fd1568405890e88c8efda4776fdff92e570b1f1.tar.gz
tcl-8fd1568405890e88c8efda4776fdff92e570b1f1.tar.bz2
merge fix for [92564326a98b5510] from 8.5
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r--unix/tclUnixFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c
index 7ffbf8d..b61a0df 100644
--- a/unix/tclUnixFile.c
+++ b/unix/tclUnixFile.c
@@ -309,7 +309,7 @@ TclpMatchInDirectory(
return TCL_OK;
}
- d = opendir(native); /* INTL: Native. */
+ d = TclOSopendir(native); /* INTL: Native. */
if (d == NULL) {
Tcl_DStringFree(&ds);
if (interp != NULL) {
@@ -387,7 +387,7 @@ TclpMatchInDirectory(
}
}
- closedir(d);
+ TclOSclosedir(d);
Tcl_DStringFree(&ds);
Tcl_DStringFree(&dsOrig);
Tcl_DecrRefCount(fileNamePtr);