diff options
| author | Edin Kadribasic <edink@php.net> | 2006-05-18 21:50:51 +0000 |
|---|---|---|
| committer | Edin Kadribasic <edink@php.net> | 2006-05-18 21:50:51 +0000 |
| commit | 51ed0ebad816f9e4e29886cd934c054bb2609723 (patch) | |
| tree | bd01a2a75731e3f39fda4dc9eac441ff5a212a97 | |
| parent | e33afedd9637c2da95a72860ffa79ef586d24e3c (diff) | |
| download | php-git-51ed0ebad816f9e4e29886cd934c054bb2609723.tar.gz | |
Use heap insted of stack for recursion in hope of avoid stack overflow crashes
| -rw-r--r-- | ext/pcre/config.w32 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/config.w32 b/ext/pcre/config.w32 index 047f9a25bc..abf83dca34 100644 --- a/ext/pcre/config.w32 +++ b/ext/pcre/config.w32 @@ -5,7 +5,7 @@ ARG_WITH("pcre-regex", "Perl Compatible Regular Expressions", "yes"); if (PHP_PCRE_REGEX == "yes") { EXTENSION("pcre", "php_pcre.c", PHP_PCRE_REGEX_SHARED, - "-DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -Iext/pcre/pcrelib"); + "-DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -DNO_RECURSE -Iext/pcre/pcrelib"); ADD_SOURCES("ext/pcre/pcrelib", "pcre_chartables.c pcre_ucp_searchfuncs.c pcre_compile.c pcre_config.c pcre_dfa_exec.c pcre_exec.c pcre_fullinfo.c pcre_get.c pcre_globals.c pcre_info.c pcre_maketables.c pcre_ord2utf8.c pcre_refcount.c pcre_study.c pcre_tables.c pcre_try_flipped.c pcre_valid_utf8.c pcre_version.c pcre_xclass.c", "pcre"); ADD_DEF_FILE("ext\\pcre\\php_pcre.def"); |
