diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-26 20:23:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-26 20:23:59 +0000 |
commit | 81f5b21c410310bbac57094f03b3750443e53f48 (patch) | |
tree | d87492b2b6ebd8d30afce3680044a60a02fc5bfb | |
parent | cadddb83ff025f5de85c170e062f91010b99a46a (diff) |
Michael Troß writes: Yes, the missing initialization of uniqblock seems to cause all this trouble. Now gen_wctype works without the rlimit stack hack.
-rw-r--r-- | extra/locale/gen_wctype.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/extra/locale/gen_wctype.c b/extra/locale/gen_wctype.c index 06cf7b8a9..5dfd41e48 100644 --- a/extra/locale/gen_wctype.c +++ b/extra/locale/gen_wctype.c @@ -8,10 +8,6 @@ #include <wchar.h> #include <ctype.h> -#ifdef __linux__ -#include <sys/resource.h> -#endif - #ifndef _CTYPE_H #define _CTYPE_H #endif @@ -245,14 +241,6 @@ int main(int argc, char **argv) static const char empty_slot[] = "empty_slot"; int built = 0; -#ifdef __linux__ - struct rlimit limit; - - limit.rlim_max = RLIM_INFINITY; - limit.rlim_cur = RLIM_INFINITY; - setrlimit(RLIMIT_STACK, &limit); -#endif - #define INIT_TYPENAME(X) typename[__CTYPE_##X] = "C_" #X for (i=0 ; i < 16 ; i++) { |