This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED PATCH] NaCl: Fix symbol names for euidaccess.


	* sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
	(euidaccess, eaccess): Define as weak aliases.

diff --git a/sysdeps/nacl/euidaccess.c b/sysdeps/nacl/euidaccess.c
index 036e736..50cbcfb 100644
--- a/sysdeps/nacl/euidaccess.c
+++ b/sysdeps/nacl/euidaccess.c
@@ -20,8 +20,10 @@
 
 /* Test for access to FILE.  */
 int
-euidaccess (const char *file, int type)
+__euidaccess (const char *file, int type)
 {
   /* No NaCl process will ever be set-ID, so access and euidaccess are one.  */
   return __access (file, type);
 }
+weak_alias (__euidaccess, euidaccess)
+weak_alias (__euidaccess, eaccess)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]