]> Savannah Git Hosting - gnulib.git/commitdiff
euidaccess: Update a comment.
authorBruno Haible <bruno@clisp.org>
Sat, 19 Nov 2011 19:55:04 +0000 (20:55 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 19 Nov 2011 19:55:04 +0000 (20:55 +0100)
* lib/euidaccess.c: Update comment about platforms with faccessat.

ChangeLog
lib/euidaccess.c

index 73fcf5a2b9191351dc68f7d69f413829222d684f..d114b35c12561fd574376c15923108b6c1b349b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-19  Bruno Haible  <bruno@clisp.org>
+
+       euidaccess: Update a comment.
+       * lib/euidaccess.c: Update comment about platforms with faccessat.
+
 2011-11-19  Bruno Haible  <bruno@clisp.org>
 
        openat: Fix file list.
index 4178354742eebe6e207ac955bab4d6452cf5df6f..b12eb467a9f9e44b8f7d59aaea0c6ad7a4b2345b 100644 (file)
@@ -74,7 +74,7 @@
 int
 euidaccess (const char *file, int mode)
 {
-#if HAVE_FACCESSAT                      /* glibc */
+#if HAVE_FACCESSAT                   /* glibc, AIX 7, Solaris 11, Cygwin 1.7 */
   return faccessat (AT_FDCWD, file, mode, AT_EACCESS);
 #elif defined EFF_ONLY_OK               /* IRIX, OSF/1, Interix */
   return access (file, mode | EFF_ONLY_OK);