projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d0937
)
Declare errno if it's not defined.
author
Jim Meyering
<jim@meyering.net>
Fri, 27 Jan 1995 17:16:56 +0000
(17:16 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 27 Jan 1995 17:16:56 +0000
(17:16 +0000)
Rename SAFE_STAT to safe_stat.
lib/euidaccess.c
patch
|
blob
|
history
diff --git
a/lib/euidaccess.c
b/lib/euidaccess.c
index 00d6a956962cb817f5d9d68a1c38fd638587ef85..499040c5b370bd199e3af6d2fe5ab0fe3f5f9fb9 100644
(file)
--- a/
lib/euidaccess.c
+++ b/
lib/euidaccess.c
@@
-59,7
+59,7
@@
gid_t getegid ();
#endif /* not POSIX_VERSION */
#include <errno.h>
-#ifndef
STDC_HEADERS
+#ifndef
errno
extern int errno;
#endif
@@
-177,7
+177,7
@@
euidaccess (path, mode)
return access (path, mode);
}
- if (
SAFE_STAT
(path, &stats))
+ if (
safe_stat
(path, &stats))
return -1;
return eaccess_stat (&stats, mode, path);