From 81f5b21c410310bbac57094f03b3750443e53f48 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 26 Jun 2006 20:23:59 +0000 Subject: =?UTF-8?q?Michael=20Tro=C3=9F=20writes:=20Yes,=20the=20missing=20?= =?UTF-8?q?initialization=20of=20uniqblock=20seems=20to=20cause=20all=20th?= =?UTF-8?q?is=20trouble.=20=20Now=20gen=5Fwctype=20works=20without=20the?= =?UTF-8?q?=20rlimit=20stack=20hack.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/locale/gen_wctype.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'extra') 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 #include -#ifdef __linux__ -#include -#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++) { -- cgit v1.2.3