From 3301671de97cc01bd1d751c500157fd8a7bdb887 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 9 Sep 2005 21:07:50 +0000 Subject: Import latest regex module from gnulib, to fix some 64-bit bugs. --- lib/regex.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'lib/regex.c') diff --git a/lib/regex.c b/lib/regex.c index 99c1a8250..1bfdd6b9c 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -21,30 +21,6 @@ #include "config.h" #endif -#ifdef _AIX -#pragma alloca -#else -# ifndef allocax /* predefined by HP cc +Olibcalls */ -# ifdef __GNUC__ -# define alloca(size) __builtin_alloca (size) -# else -# if HAVE_ALLOCA_H -# include -# else -# ifdef __hpux - void *alloca (); -# else -# if !defined __OS2__ && !defined WIN32 - char *alloca (); -# else -# include /* OS/2 defines alloca in here */ -# endif -# endif -# endif -# endif -# endif -#endif - #ifdef _LIBC /* We have to keep the namespace clean. */ # define regfree(preg) __regfree (preg) @@ -70,10 +46,6 @@ # include "../locale/localeinfo.h" #endif -/* POSIX says that must be included (by the caller) before - . */ -#include - /* On some systems, limits.h sets RE_DUP_MAX to a lower value than GNU regex allows. Include it before , which correctly #undefs RE_DUP_MAX and sets it to the right value. */ -- cgit v1.2.3