mirror of
https://abf.rosa.ru/djam/glibc.git
synced 2025-02-23 06:52:49 +00:00
12 lines
561 B
Diff
12 lines
561 B
Diff
![]() |
--- libc/nptl/nptl-init.c.bero~ 2012-12-01 23:55:26.722754391 +0100
|
||
|
+++ libc/nptl/nptl-init.c 2012-12-01 23:55:42.725950817 +0100
|
||
|
@@ -414,7 +414,7 @@ __pthread_initialize_minimal_internal (v
|
||
|
/* 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. */
|