diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-06-02 05:05:29 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-06-02 05:05:29 +0000 |
commit | ab2edb9e3307a172487bb16edcaf79600bf9ebea (patch) | |
tree | 891357990f461f806713fa4cb52c1b9bb91d1ba3 /lib/tempname.c | |
parent | 1e6b9bd047bdaf17291f87e44a218814dd6560f5 (diff) | |
download | coreutils-ab2edb9e3307a172487bb16edcaf79600bf9ebea.tar.xz |
Don't use "path" or "filename" to mean "file name"
in comments or local variable names.
Diffstat (limited to 'lib/tempname.c')
-rw-r--r-- | lib/tempname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tempname.c b/lib/tempname.c index 3de699b42..eda6235ae 100644 --- a/lib/tempname.c +++ b/lib/tempname.c @@ -78,8 +78,8 @@ # define __mkdir mkdir # define __open open # define __open64 open -# define __lxstat64(version, path, buf) lstat (path, buf) -# define __xstat64(version, path, buf) stat (path, buf) +# define __lxstat64(version, file, buf) lstat (file, buf) +# define __xstat64(version, file, buf) stat (file, buf) #endif #if ! (HAVE___SECURE_GETENV || _LIBC) @@ -185,7 +185,7 @@ __path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, return 0; } -/* These are the characters used in temporary filenames. */ +/* These are the characters used in temporary file names. */ static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; |