X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Feuidaccess.c;h=17eb724972b8fef61e8fe2e06760fea59a09ed28;hb=fcfced6a46fa2b6c8dd701264d852d254f9fd042;hp=15ffdb072398e52b8ec63010239d82a6edb402bf;hpb=222b0486b7db1b09293e05512873d633440efcb3;p=gnulib.git
diff --git a/lib/euidaccess.c b/lib/euidaccess.c
index 15ffdb072..17eb72497 100644
--- a/lib/euidaccess.c
+++ b/lib/euidaccess.c
@@ -1,41 +1,33 @@
/* 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, 2008
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
- This program is free software; you can redistribute it and/or modify
+ This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see . */
/* Written by David MacKenzie and Torbjorn Granlund.
Adapted for GNU C library by Roland McGrath. */
-#ifdef HAVE_CONFIG_H
-# include
-#endif
-
#ifndef _LIBC
-# include "euidaccess.h"
+# include
#endif
#include
#include
-
-#if HAVE_UNISTD_H || defined _LIBC
-# include
-#endif
+#include
#if HAVE_LIBGEN_H
# include
@@ -73,7 +65,6 @@
#else
# include "group-member.h"
-# include "stat-macros.h"
#endif