From cb483e04aa9d67368c6e11cddf6d58fc0c80713e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 6 Jan 2006 11:22:10 +0000 Subject: * io/euidaccess.c: Add eaccess as an alias. * sysdeps/mach/hurd/euidaccess.c: Likewise. * sysdeps/posix/euidaccess.c: Likewise. * posix/unistd.h [__USE_GNU]: Declare eaccess. * io/Versions (libc: GLIBC_2.4): Add eaccess. --- io/Versions | 2 ++ io/euidaccess.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'io') diff --git a/io/Versions b/io/Versions index 8cb1abdb42..823f8f2d79 100644 --- a/io/Versions +++ b/io/Versions @@ -98,6 +98,8 @@ libc { nftw; nftw64; } GLIBC_2.4 { + eaccess; + fchmodat; fchownat; __fxstatat; __fxstatat64; diff --git a/io/euidaccess.c b/io/euidaccess.c index 028fe9085c..943f1f7c82 100644 --- a/io/euidaccess.c +++ b/io/euidaccess.c @@ -1,5 +1,5 @@ /* Test for access to FILE using effective UID and GID. Stub version. - Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1991,1995,1996,1997,2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -36,5 +36,7 @@ __euidaccess (file, type) return -1; } weak_alias (__euidaccess, euidaccess) +weak_alias (__euidaccess, eaccess) stub_warning (euidaccess) +stub_warning (eaccess) #include -- cgit 1.4.1