[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xrdb.c
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/xrdb.c |
Date: |
Sun, 03 Mar 2002 15:09:28 -0500 |
Index: emacs/src/xrdb.c
diff -c emacs/src/xrdb.c:1.47 emacs/src/xrdb.c:1.48
*** emacs/src/xrdb.c:1.47 Thu Aug 16 08:55:19 2001
--- emacs/src/xrdb.c Sun Mar 3 15:09:27 2002
***************
*** 323,335 ****
static int
! file_p (path)
! char *path;
{
struct stat status;
! return (access (path, 4) == 0 /* exists and is
readable */
! && stat (path, &status) == 0 /* get the status */
&& (S_ISDIR (status.st_mode)) == 0); /* not a directory */
}
--- 323,335 ----
static int
! file_p (filename)
! char *filename;
{
struct stat 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 */
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/xrdb.c,
Richard M. Stallman <=