summaryrefslogtreecommitdiffstats
path: root/runtime/doc/message.txt
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-11-12 16:59:29 +0100
committerChristian Brabandt <cb@256bit.org>2023-11-12 16:59:29 +0100
commit2076463e383901cef44685aaf4b63e4306444f9e (patch)
tree2c222e0bc431e36f3d9ae6f3663ccb4bf2c893e4 /runtime/doc/message.txt
parent9588666360e94de3ff58d4bc79aa9148fbf5fc44 (diff)
patch 9.0.2103: recursive callback may cause issues on some archsv9.0.2103
Problem: recursive callback may cause issues on some archs Solution: Decrease the limit drastically to 20 Recursive callback limit causes problems on some architectures Since commit 47510f3d6598a1218958c03ed11337a43b73f48d we have a test that causes a recursive popup callback function to be executed. However it seems the current limit of 'maxfuncdepth' option value is still too recursive for some 32bit architectures (e.g. 32bit ARM). So instead of allowing a default limit of 100 (default value for 'maxfuncdepth'), let's reduce this limit to 20. I don't think there is a use case where one would need such a high recursive callback limit and a limit of 20 seems reasonable (although it is currently hard-coded). closes: #13495 closes: #13502 Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/message.txt')
-rw-r--r--runtime/doc/message.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index 240f2c4326..f8a9fdfa60 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -1,4 +1,4 @@
-*message.txt* For Vim version 9.0. Last change: 2023 May 24
+*message.txt* For Vim version 9.0. Last change: 2023 Nov 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -135,6 +135,8 @@ This happens when an Ex command executes an Ex command that executes an Ex
command, etc. The limit is 200 or the value of 'maxfuncdepth', whatever is
larger. When it's more there probably is an endless loop. Probably a
|:execute| or |:source| command is involved.
+Can also happen with a recursive callback function (|job-callback|).
+A limit of 20 is used here.
*E254*
Cannot allocate color {name} ~