summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFCmd.c
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2018-05-09 10:29:33 (GMT)
committersebres <sebres@users.sourceforge.net>2018-05-09 10:29:33 (GMT)
commitf5e87513071af9794d48e1b5c1b106343f4bca1f (patch)
tree5edaaf34fde5ff260c8884e3f238f064205619c4 /unix/tclUnixFCmd.c
parent78ee8c697e423a5b4718fabb53eef1c5f6a2a2b1 (diff)
downloadtcl-f5e87513071af9794d48e1b5c1b106343f4bca1f.zip
tcl-f5e87513071af9794d48e1b5c1b106343f4bca1f.tar.gz
tcl-f5e87513071af9794d48e1b5c1b106343f4bca1f.tar.bz2
amend to [85bcf84100]: replaces DIR with Tcl_Dir (DIR/DIR64 regarding HAVE_STRUCT_DIRENT64)
Diffstat (limited to 'unix/tclUnixFCmd.c')
-rw-r--r--unix/tclUnixFCmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c
index 4377b77..f4a35af 100644
--- a/unix/tclUnixFCmd.c
+++ b/unix/tclUnixFCmd.c
@@ -327,7 +327,7 @@ DoRenameFile(
if (errno == EINVAL && haveRealpath) {
char srcPath[MAXPATHLEN], dstPath[MAXPATHLEN];
- DIR *dirPtr;
+ Tcl_Dir *dirPtr;
Tcl_DirEntry *dirEntPtr;
if ((Realpath((char *) src, srcPath) != NULL) /* INTL: Native. */
@@ -920,7 +920,7 @@ TraverseUnixTree(
#ifndef HAVE_FTS
int numProcessed = 0;
Tcl_DirEntry *dirEntPtr;
- DIR *dirPtr;
+ Tcl_Dir *dirPtr;
#else
CONST char *paths[2] = {NULL, NULL};
FTS *fts = NULL;