summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-05-08 15:00:40 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-05-08 15:00:40 (GMT)
commit7f26fedbccc3c9f7908417c0abe1cceae115a237 (patch)
treef7d5730eb82f0c65685199459df425f653924f8f /unix/tclUnixFile.c
parent1f71d7079b597878c3312bb94811772cb708e3f8 (diff)
parent47e9dbdc37939a6e874afd15d6586864649f23c7 (diff)
downloadtcl-7f26fedbccc3c9f7908417c0abe1cceae115a237.zip
tcl-7f26fedbccc3c9f7908417c0abe1cceae115a237.tar.gz
tcl-7f26fedbccc3c9f7908417c0abe1cceae115a237.tar.bz2
merge 8.6
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 5f5bfe0..5215bdf 100644
--- a/unix/tclUnixFile.c
+++ b/unix/tclUnixFile.c
@@ -310,7 +310,7 @@ TclpMatchInDirectory(
return TCL_OK;
}
- d = opendir(native); /* INTL: Native. */
+ d = TclOSopendir(native); /* INTL: Native. */
if (d == NULL) {
Tcl_DStringFree(&ds);
if (interp != NULL) {
@@ -388,7 +388,7 @@ TclpMatchInDirectory(
}
}
- closedir(d);
+ TclOSclosedir(d);
Tcl_DStringFree(&ds);
Tcl_DStringFree(&dsOrig);
Tcl_DecrRefCount(fileNamePtr);