summaryrefslogtreecommitdiff
path: root/lib/fts_.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-06-02 05:05:29 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-06-02 05:05:29 +0000
commitab2edb9e3307a172487bb16edcaf79600bf9ebea (patch)
tree891357990f461f806713fa4cb52c1b9bb91d1ba3 /lib/fts_.h
parent1e6b9bd047bdaf17291f87e44a218814dd6560f5 (diff)
downloadcoreutils-ab2edb9e3307a172487bb16edcaf79600bf9ebea.tar.xz
Don't use "path" or "filename" to mean "file name"
in comments or local variable names.
Diffstat (limited to 'lib/fts_.h')
-rw-r--r--lib/fts_.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/fts_.h b/lib/fts_.h
index 954ba569b..4bf903bd3 100644
--- a/lib/fts_.h
+++ b/lib/fts_.h
@@ -71,7 +71,7 @@ typedef struct {
struct _ftsent *fts_child; /* linked list of children */
struct _ftsent **fts_array; /* sort array */
dev_t fts_dev; /* starting device # */
- char *fts_path; /* path for this descent */
+ char *fts_path; /* file name for this descent */
int fts_rfd; /* fd for root */
size_t fts_pathlen; /* sizeof(path) */
size_t fts_nitems; /* elements in the sort array */
@@ -135,8 +135,8 @@ typedef struct _ftsent {
struct _ftsent *fts_link; /* next file in directory */
long fts_number; /* local numeric value */
void *fts_pointer; /* local address value */
- char *fts_accpath; /* access path */
- char *fts_path; /* root path; == fts_fts->fts_path */
+ char *fts_accpath; /* access file name */
+ char *fts_path; /* root name; == fts_fts->fts_path */
int fts_errno; /* errno for this node */
int fts_symfd; /* fd for symlink */
size_t fts_pathlen; /* strlen(fts_path) */