mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-28 15:01:21 +02:00
22501: reduce maximum function depth to 1000
This commit is contained in:
parent
2da1610330
commit
a940c36487
@ -1,3 +1,8 @@
|
||||
2006-06-19 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 22501: configure.ac: reduce default maximum function depth
|
||||
to 1000.
|
||||
|
||||
2006-06-17 Barton E. Schaefer <schaefer@brasslantern.com>
|
||||
|
||||
* 22492: Functions/Zle/url-quote-magic: properly detect when a new
|
||||
|
@ -325,13 +325,13 @@ ifdef([max_function_depth],[undefine([max_function_depth])])dnl
|
||||
AH_TEMPLATE([MAX_FUNCTION_DEPTH],
|
||||
[Define for function depth limits])
|
||||
AC_ARG_ENABLE(max-function-depth,
|
||||
AC_HELP_STRING([--enable-max-function-depth=MAX], [limit function depth to MAX, default 4096]),
|
||||
AC_HELP_STRING([--enable-max-function-depth=MAX], [limit function depth to MAX, default 1000]),
|
||||
[if test x$enableval = xyes; then
|
||||
AC_DEFINE(MAX_FUNCTION_DEPTH, 4096)
|
||||
AC_DEFINE(MAX_FUNCTION_DEPTH, 1000)
|
||||
elif test x$enableval != xno; then
|
||||
AC_DEFINE_UNQUOTED(MAX_FUNCTION_DEPTH, $enableval)
|
||||
fi],
|
||||
[AC_DEFINE(MAX_FUNCTION_DEPTH, 4096)]
|
||||
[AC_DEFINE(MAX_FUNCTION_DEPTH, 1000)]
|
||||
)
|
||||
|
||||
dnl Do you want to look for pcre support?
|
||||
|
Loading…
Reference in New Issue
Block a user