]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - glibc/patches/glibc-fedora-uname-getrlimit.patch
glibc: Update to 2.21
[people/arne_f/ipfire-3.x.git] / glibc / patches / glibc-fedora-uname-getrlimit.patch
index dccace74244cfeac03b3f1b901d0bbb96def6279..dedb836650e1eaea12a9b242f63db8ea47e4f5be 100644 (file)
@@ -28,17 +28,6 @@ GLIBC_PRIVATE.
    }
  }
  
---- a/nptl/nptl-init.c
-+++ b/nptl/nptl-init.c
-@@ -414,7 +414,7 @@ __pthread_initialize_minimal_internal (void)
-   /* Determine the default allowed stack size.  This is the size used
-      in case the user does not specify one.  */
-   struct rlimit limit;
--  if (getrlimit (RLIMIT_STACK, &limit) != 0
-+  if (__getrlimit (RLIMIT_STACK, &limit) != 0
-       || limit.rlim_cur == RLIM_INFINITY)
-     /* The system limit is not usable.  Use an architecture-specific
-        default.  */
 --- a/sysdeps/unix/sysv/linux/i386/Versions
 +++ b/sysdeps/unix/sysv/linux/i386/Versions
 @@ -53,5 +53,6 @@