summary refs log tree commit diff
path: root/INSTALL
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-07-30 11:09:16 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-07-30 11:09:16 +0000
commitab899b76c790d1cb13b76716d4d99b6bd7ac983c (patch)
tree9685f177c31645e5394be3236bd4deecb3f0b8af /INSTALL
parentb550cfe7e382c7704965a166af81933f1ac50d4b (diff)
downloadzsh-ab899b76c790d1cb13b76716d4d99b6bd7ac983c.tar.gz
zsh-ab899b76c790d1cb13b76716d4d99b6bd7ac983c.tar.xz
zsh-ab899b76c790d1cb13b76716d4d99b6bd7ac983c.zip
20222: turn on max function depth
plus unposted reference to this in README
plus unposted neatening of 20219 history-pattern-search
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL13
1 files changed, 13 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 5ed5abc03..08f3383e9 100644
--- a/INSTALL
+++ b/INSTALL
@@ -330,6 +330,19 @@ $fpath array on shell startup.  This directory will not be affected by
 `make uninstall' or `make uninstall.fns', although the version-specific
 directory and its contents will be deleted.
 
+Function depth
+--------------
+
+Shell functions may be called recursively.  In order to detect infinite
+recursion the shell has a limit on the depth to which functions may be
+called:  note that this is a single limit for all functions, not a limit
+for each function called recursively.  The default for the limit is 4096.
+The limit may be altered to the value MAX by passing the option
+--enable-max-function-depth=MAX to configure.  Alternatively, the limit may
+be disabled with --disable-max-function-depth.  However, this is not
+recommended as it is likely to cause the shell to crash on an infinite
+recursion.
+
 Support for large files and integers
 ------------------------------------