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 73fcf5a..d114b35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
        * modules/openat (Files): Remove lib/at-func.c.
 
index 4178354..b12eb46 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);