svn commit: trunk/uClibc/extra/locale

vapier at uclibc.org vapier at uclibc.org
Mon Jun 26 20:24:00 UTC 2006


Author: vapier
Date: 2006-06-26 13:23:59 -0700 (Mon, 26 Jun 2006)
New Revision: 15518

Log:
Michael Tro?\195?\159 writes: Yes, the missing initialization of uniqblock seems to cause all this trouble.  Now gen_wctype works without the rlimit stack hack.


Modified:
   trunk/uClibc/extra/locale/gen_wctype.c


Changeset:
Modified: trunk/uClibc/extra/locale/gen_wctype.c
===================================================================
--- trunk/uClibc/extra/locale/gen_wctype.c	2006-06-26 20:22:09 UTC (rev 15517)
+++ trunk/uClibc/extra/locale/gen_wctype.c	2006-06-26 20:23:59 UTC (rev 15518)
@@ -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 @@
 	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++) {




More information about the uClibc-cvs mailing list