]> sourceware.org Git - glibc.git/commitdiff
* io/euidaccess.c: Add eaccess as an alias.
authorRoland McGrath <roland@gnu.org>
Fri, 6 Jan 2006 11:22:10 +0000 (11:22 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 6 Jan 2006 11:22:10 +0000 (11:22 +0000)
* 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.

ChangeLog
io/Versions
io/euidaccess.c
posix/unistd.h
sysdeps/mach/hurd/euidaccess.c
sysdeps/posix/euidaccess.c

index b016443d6f8ba8c0d7c511c65f2f8939798fa53b..7e8c14014ea623f535977ce95fe86614fc23ee6b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-01-06  Roland McGrath  <roland@redhat.com>
+
+       * 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.
+
 2005-12-04  Joseph S. Myers  <joseph@codesourcery.com>
 
        * soft-fp/Makefile (gcc-single-routines): Add unordsf2,
index 8cb1abdb4208ea9bdb3715d599a4f1d63d3546b2..823f8f2d796099c2a582f528188cae8368adecef 100644 (file)
@@ -98,6 +98,8 @@ libc {
     nftw; nftw64;
   }
   GLIBC_2.4 {
+    eaccess;
+
     fchmodat;
     fchownat;
     __fxstatat; __fxstatat64;
index 028fe9085c25628c68ac540a93bc3feff1c03fb8..943f1f7c82c05dd5a6ea3e4a87c35e5f80eeb389 100644 (file)
@@ -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 <stub-tag.h>
index 480de5e40f1b687aa3ced53871861242f07de925..1bf843ce6383871ee226015df42c6787f960d7e5 100644 (file)
@@ -260,6 +260,10 @@ extern int access (__const char *__name, int __type) __THROW __nonnull ((1));
    (as normal file operations use).  */
 extern int euidaccess (__const char *__name, int __type)
      __THROW __nonnull ((1));
+
+/* An alias for `euidaccess', used by some other systems.  */
+extern int eaccess (__const char *__name, int __type)
+     __THROW __nonnull ((1));
 #endif
 
 
index 4e72e2abb39b4bb487f65fd2b728192c42ee584d..57f2a015cc24568ce7a6c2c5cd0a0dff244fea0d 100644 (file)
@@ -1,5 +1,5 @@
 /* Test for access to FILE using effective UID and GID.  Hurd version.
-   Copyright (C) 1991, 1995, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1995, 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
@@ -57,3 +57,4 @@ __euidaccess (file, type)
   return 0;
 }
 weak_alias (__euidaccess, euidaccess)
+weak_alias (__euidaccess, eaccess)
index 5464bfb374dc050d14133ab85e63877b0dcde103..76a09d455d67297421456ba148b19d4d39c9a8c3 100644 (file)
@@ -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
 \f
 #ifdef TEST
This page took 0.058297 seconds and 5 git commands to generate.