projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'strcasestr'.
[gnulib.git]
/
lib
/
euidaccess.c
diff --git
a/lib/euidaccess.c
b/lib/euidaccess.c
index
15ffdb0
..
5148a5b
100644
(file)
--- a/
lib/euidaccess.c
+++ b/
lib/euidaccess.c
@@
-1,7
+1,7
@@
/* euidaccess -- check if effective user id can access file
/* euidaccess -- check if effective user id can access file
- Copyright (C) 1990, 1991, 1995, 1998, 2000, 2003, 2004, 2005
Free
- Software Foundation, Inc.
+ Copyright (C) 1990, 1991, 1995, 1998, 2000, 2003, 2004, 2005
, 2006
+
Free
Software Foundation, Inc.
This file is part of the GNU C Library.
This file is part of the GNU C Library.
@@
-22,20
+22,14
@@
/* Written by David MacKenzie and Torbjorn Granlund.
Adapted for GNU C library by Roland McGrath. */
/* Written by David MacKenzie and Torbjorn Granlund.
Adapted for GNU C library by Roland McGrath. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
#ifndef _LIBC
#ifndef _LIBC
+# include <config.h>
# include "euidaccess.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
# include "euidaccess.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
-
-#if HAVE_UNISTD_H || defined _LIBC
-# include <unistd.h>
-#endif
+#include <unistd.h>
#if HAVE_LIBGEN_H
# include <libgen.h>
#if HAVE_LIBGEN_H
# include <libgen.h>
@@
-73,7
+67,6
@@
#else
# include "group-member.h"
#else
# include "group-member.h"
-# include "stat-macros.h"
#endif
#endif