]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Don't set errno in Hurd rtld's __access_noerrno
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 15 Dec 2017 16:00:50 +0000 (17:00 +0100)
committerThomas Schwinge <thomas@schwinge.name>
Fri, 15 Dec 2017 17:02:56 +0000 (18:02 +0100)
* sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
errno.

Fixes commit 819ea3347e3a30a611488ceeec53650baaeb7961.

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
ChangeLog
sysdeps/mach/hurd/dl-sysdep.c

index 00161628c549164b6b194f881caa514352aed131..027f948ec943d4cd19fdb67577bb972cf8fc6662 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-15  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
+       errno.
+
 2017-12-15  Joseph Myers  <joseph@codesourcery.com>
 
        * scripts/build-many-glibcs.py (Context.add_all_configs): Use
index 2cc342ec8e4a19bea81e34f7758f46375b34d317..5121ce325c73649415c3d39bbe3bfa0590e81886 100644 (file)
@@ -575,7 +575,6 @@ check_no_hidden(__access_noerrno);
 int weak_function
 __access_noerrno (const char *file, int type)
 {
-  errno = ENOSYS;
   return -1;
 }