projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f1f92b
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Wed, 4 May 1994 21:21:25 +0000
(21:21 +0000)
committer
Richard Stallman
<rms@gnu.org>
Wed, 4 May 1994 21:21:25 +0000
(21:21 +0000)
regex.c
patch
|
blob
|
history
diff --git
a/regex.c
b/regex.c
index f8debba960b390dba99c5d68eca2675b90f89c5a..bd8c80f2b41328b73867c8a1a5bfa90f782cc5a8 100644
(file)
--- a/
regex.c
+++ b/
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;