summaryrefslogtreecommitdiff
path: root/src/xrdb.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-03-03 20:09:47 +0000
committerRichard M. Stallman <rms@gnu.org>2002-03-03 20:09:47 +0000
commitaa7e46604a9d49dea9d11baed9cabab61751b737 (patch)
tree4068384d24f766a35302a86784d559ff2124c174 /src/xrdb.c
parent8d3208722e7dbe1d46db845cec37d02ff4a3cff9 (diff)
downloademacs-aa7e46604a9d49dea9d11baed9cabab61751b737.tar.gz
(file_p): Rename arg `path' to `filename'.
Diffstat (limited to 'src/xrdb.c')
-rw-r--r--src/xrdb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xrdb.c b/src/xrdb.c
index e51a774dc47..87c8f4b285d 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -323,13 +323,13 @@ gethomedir ()
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 */
}