Mercurial > emacs
diff src/xrdb.c @ 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 | 4fe55fd0a408 |
| children | 695cf19ef79e d7ddb3e565de |
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 */ }
