X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Feuidaccess.c;h=9db7bb4f285357ec7329c9291daecc8e0225c1c3;hb=b7285ef59198ab3a562df0c91c6b1c781620e45e;hp=4bb93aa0b069314d43fb639f449c8063f5d736ca;hpb=359c0a71713e606f440d40f55a43c77349df2aaa;p=gnulib.git diff --git a/lib/euidaccess.c b/lib/euidaccess.c index 4bb93aa0b..9db7bb4f2 100644 --- a/lib/euidaccess.c +++ b/lib/euidaccess.c @@ -1,41 +1,34 @@ /* 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 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. */ -#if HAVE_CONFIG_H -# include -#endif - #ifndef _LIBC +# include # include "euidaccess.h" #endif #include #include - -#if HAVE_UNISTD_H || defined _LIBC -# include -#endif +#include #if HAVE_LIBGEN_H # include @@ -73,7 +66,6 @@ #else # include "group-member.h" -# include "stat-macros.h" #endif