[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
euidaccess: comment
From: |
Bruno Haible |
Subject: |
euidaccess: comment |
Date: |
Sat, 19 Nov 2011 20:56:17 +0100 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
The list of platforms that have faccessat() has increased since this code
was written.
2011-11-19 Bruno Haible <address@hidden>
euidaccess: Update a comment.
* lib/euidaccess.c: Update comment about platforms with faccessat.
--- lib/euidaccess.c.orig Sat Nov 19 20:53:43 2011
+++ lib/euidaccess.c Sat Nov 19 20:53:24 2011
@@ -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);
--
In memoriam Farhád Asdaqí
<http://www.iranhrdc.org/english/publications/reports/3149-a-faith-denied-the-persecution-of-the-baha-is-of-iran.html?p=29>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- euidaccess: comment,
Bruno Haible <=