git-rtld-strtoul_internal
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Fri, 26 Jan 2018 22:35:29 +0000 (22:35 +0000)
committerAurelien Jarno <aurel32@debian.org>
Fri, 26 Jan 2018 22:35:29 +0000 (22:35 +0000)
commit cae3d71212ff1885d9317c22411fe97ccd99e287
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Sep 3 14:33:35 2017 +0200

    hurd: Fix rtld's strtoul_internal use through hurdlookup

            * sysdeps/mach/hurd/dl-sysdep.c (__strtoul_internal): New
            function.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-rtld-strtoul_internal.diff

sysdeps/mach/hurd/dl-sysdep.c

index 57cf5c0e96a6e5f40a3e57fba8e4572e8bd1f5f3..84a683ed171fb5b78079df5dc1fc041f626bdff8 100644 (file)
@@ -601,6 +601,15 @@ __sbrk (intptr_t increment)
   return (void *) addr;
 }
 
+unsigned long int
+weak_function
+__strtoul_internal (const char *nptr, char **endptr, int base, int group)
+{
+  assert (base == 0 || base == 10);
+  assert (group == 0);
+  return _dl_strtoul (nptr, endptr);
+}
+
 void weak_function attribute_hidden
 _exit (int status)
 {