Mercurial > emacs
changeset 43672:e26d9755d4e8
(file_p): Rename arg `path' to `filename'.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 03 Mar 2002 20:09:27 +0000 |
parents | b6abb8a7ea89 |
children | 37eeb8f1f6f2 |
files | src/xrdb.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xrdb.c Sun Mar 03 20:08:56 2002 +0000 +++ b/src/xrdb.c Sun Mar 03 20:09:27 2002 +0000 @@ -323,13 +323,13 @@ static int -file_p (path) - char *path; +file_p (filename) + char *filename; { struct stat status; - return (access (path, 4) == 0 /* exists and is readable */ - && stat (path, &status) == 0 /* get the status */ + return (access (filename, 4) == 0 /* exists and is readable */ + && stat (filename, &status) == 0 /* get the status */ && (S_ISDIR (status.st_mode)) == 0); /* not a directory */ }