summaryrefslogtreecommitdiffstats
path: root/editors/xemacs/files/patch-regex.c
blob: 33c75b5894a09570b40f1d030160bd9820352f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/regex.c.orig	Sun Apr 18 22:13:51 2004
+++ src/regex.c	Sun Apr 18 22:14:57 2004
@@ -1135,7 +1135,7 @@
    exactly that if always used MAX_FAILURE_SPACE each time we failed.
    This is a variable only so users of regex can assign to it; we never
    change it ourselves.  */
-#if defined (MATCH_MAY_ALLOCATE)
+#if defined (MATCH_MAY_ALLOCATE) || defined (REGEX_MALLOC)
 /* 4400 was enough to cause a crash on Alpha OSF/1,
    whose default stack limit is 2mb.  */
 int re_max_failures = 20000;
OpenPOWER on IntegriCloud