aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2015-12-21 02:54:51 -0800
committerPaul Eggert2015-12-21 02:54:51 -0800
commit57f222558d2b844e7856dfcbdae37ebd5c0dfa4b (patch)
tree4b668abb7f9bf9895a70138808eace704b39ffa7
parente9916d8880561cc06b6cb73bafe7257b93ffbf4c (diff)
downloademacs-57f222558d2b844e7856dfcbdae37ebd5c0dfa4b.tar.gz
emacs-57f222558d2b844e7856dfcbdae37ebd5c0dfa4b.zip
Add FIXME comment re stack overflow and modules
-rw-r--r--src/emacs-module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c
index dca834973bd..def77e3570a 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -120,6 +120,9 @@ static emacs_value const module_nil = 0;
120 120
121/* Convenience macros for non-local exit handling. */ 121/* Convenience macros for non-local exit handling. */
122 122
123/* FIXME: The following implementation for non-local exit handling
124 does not work with stack overflow detection. */
125
123/* Emacs uses setjmp and longjmp for non-local exits, but 126/* Emacs uses setjmp and longjmp for non-local exits, but
124 module frames cannot be skipped because they are in general 127 module frames cannot be skipped because they are in general
125 not prepared for long jumps (e.g., the behavior in C++ is undefined 128 not prepared for long jumps (e.g., the behavior in C++ is undefined