aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-01-06 11:22:10 +0000
committerRoland McGrath <roland@gnu.org>2006-01-06 11:22:10 +0000
commitcb483e04aa9d67368c6e11cddf6d58fc0c80713e (patch)
tree311d6cb3ca05fe83281b893ac26f2031c1277dd9 /sysdeps/posix
parente7b8c7bc7326ecbbb96af06d8b77f99aad3a84e4 (diff)
downloadglibc-cb483e04aa9d67368c6e11cddf6d58fc0c80713e.tar
glibc-cb483e04aa9d67368c6e11cddf6d58fc0c80713e.tar.gz
glibc-cb483e04aa9d67368c6e11cddf6d58fc0c80713e.tar.bz2
glibc-cb483e04aa9d67368c6e11cddf6d58fc0c80713e.zip
* 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.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/euidaccess.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/posix/euidaccess.c b/sysdeps/posix/euidaccess.c
index 5464bfb374..76a09d455d 100644
--- a/sysdeps/posix/euidaccess.c
+++ b/sysdeps/posix/euidaccess.c
@@ -183,8 +183,10 @@ euidaccess (path, mode)
return -1;
}
#undef euidaccess
+#undef eaccess
#ifdef weak_alias
weak_alias (__euidaccess, euidaccess)
+weak_alias (__euidaccess, eaccess)
#endif
#ifdef TEST