diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2017-12-15 17:00:50 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2017-12-15 18:02:56 +0100 |
commit | d232f2e137127139addde487f0f01881b52cc446 (patch) | |
tree | 98418dabe6f6cefab74d9a9b6e9fc89fb421774e /sysdeps/mach/hurd/dl-sysdep.c | |
parent | 5170fa49b2a926f2a53139c607eb249c82a0fdd9 (diff) | |
download | glibc-d232f2e137127139addde487f0f01881b52cc446.tar.gz glibc-d232f2e137127139addde487f0f01881b52cc446.tar.xz glibc-d232f2e137127139addde487f0f01881b52cc446.zip |
Don't set errno in Hurd rtld's __access_noerrno
* sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set errno. Fixes commit 819ea3347e3a30a611488ceeec53650baaeb7961. Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'sysdeps/mach/hurd/dl-sysdep.c')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 2cc342ec8e..5121ce325c 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -575,7 +575,6 @@ check_no_hidden(__access_noerrno); int weak_function __access_noerrno (const char *file, int type) { - errno = ENOSYS; return -1; } |