diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-19 05:18:47 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-19 05:18:47 (GMT) |
| commit | 1489bcfe34b0e81138fd726440870be0ba49c6da (patch) | |
| tree | c7d508eeaf858cd6ef3495ff5c84873d8d915572 /unix/tclUnixFile.c | |
| parent | 9e929c12d5f69c17dcd7dcc52c0766166331ea04 (diff) | |
| parent | 4f1ea4779be85d8837f3a133b52d3b5aa9e53fda (diff) | |
| download | tcl-1489bcfe34b0e81138fd726440870be0ba49c6da.zip tcl-1489bcfe34b0e81138fd726440870be0ba49c6da.tar.gz tcl-1489bcfe34b0e81138fd726440870be0ba49c6da.tar.bz2 | |
merge 8.7
Diffstat (limited to 'unix/tclUnixFile.c')
| -rw-r--r-- | unix/tclUnixFile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index 5f5bfe0..8cb93b4 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -259,7 +259,7 @@ TclpMatchInDirectory( Tcl_DecrRefCount(tailPtr); Tcl_DecrRefCount(fileNamePtr); } else { - DIR *d; + TclDIR *d; Tcl_DirEntry *entryPtr; const char *dirName; size_t dirLength, nativeDirLen; @@ -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); |
