X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fregex.c;h=2edcc42f8e6ef330cb0c853a39fd9b2301797a64;hb=refs%2Ftags%2Fss-940725-22h45;hp=8c853ba62e72cff48b96c2af8e3517d9a9b9e92a;hpb=707dd9b4ea1d0e2ce92ecc767e07e47ced51bf11;p=gnulib.git diff --git a/lib/regex.c b/lib/regex.c index 8c853ba62..2edcc42f8 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -3,7 +3,7 @@ (Implements POSIX draft P10003.2/D11.2, except for internationalization features.) - Copyright (C) 1993 Free Software Foundation, Inc. + Copyright (C) 1993, 1994 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -3180,7 +3180,11 @@ re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop) val = re_match_2_internal (bufp, string1, size1, string2, size2, startpos, regs, stop); +#ifndef REGEX_MALLOC +#ifdef C_ALLOCA alloca (0); +#endif +#endif if (val >= 0) return startpos;