summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-04 21:21:25 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-04 21:21:25 +0000
commit9172a59d1e38d17d3f0218199b13f961c8d00e25 (patch)
treed0651a6861bf8c5b06937cbcc1ff7fabc20a2023 /src/regex.c
parent8f395ef50a4f9b9ea2961fe98db8e9b6c48141fc (diff)
downloademacs-9172a59d1e38d17d3f0218199b13f961c8d00e25.tar.gz
*** empty log message ***
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c
index f8debba960b..bd8c80f2b41 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -3176,7 +3176,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;