From df759c2a218d1b52cfaf199b24e9f35dc93a3af4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 30 Jan 2004 05:22:32 +0000 Subject: Update. 2004-01-28 Paolo Bonzini Merge regex changes in gawk. * posix/regcomp.c (build_range_exp) [!_LIBC]: Check validity of collation elements. * posix/regex.c: Include limits.h. * posix/regex.h: Document REG_ECOLLATE correctly. * posix/regex_internal.h [!_LIBC && !ENABLE_NLS]: Disable NLS. --- posix/regex.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'posix/regex.c') diff --git a/posix/regex.c b/posix/regex.c index 4c3826238b..7a4f304cdd 100644 --- a/posix/regex.c +++ b/posix/regex.c @@ -74,6 +74,12 @@ /* 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. */ +#include + #include #include "regex_internal.h" -- cgit v1.2.3