Don't set errno in Hurd rtld's __access_noerrno

* sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
	errno.

Fixes commit 819ea3347e.

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
Thomas Schwinge 2017-12-15 17:00:50 +01:00 committed by Thomas Schwinge
parent 5170fa49b2
commit d232f2e137
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -575,7 +575,6 @@ check_no_hidden(__access_noerrno);
int weak_function
__access_noerrno (const char *file, int type)
{
errno = ENOSYS;
return -1;
}