changeset 16104:afdff76137f9

euidaccess: Update a comment. * lib/euidaccess.c: Update comment about platforms with faccessat.
author Bruno Haible <bruno@clisp.org>
date Sat, 19 Nov 2011 20:55:04 +0100
parents da3bb2df6a6a
children a2d45c112907
files ChangeLog lib/euidaccess.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/lib/euidaccess.c
+++ b/lib/euidaccess.c
@@ -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);