CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 06/07/22 22:38:14
Index: src/main.c =================================================================== RCS file: /sources/m4/m4/src/main.c,v retrieving revision 1.68 retrieving revision 1.69 diff -u -b -r1.68 -r1.69 --- src/main.c 14 Jul 2006 15:27:34 -0000 1.68 +++ src/main.c 22 Jul 2006 22:38:14 -0000 1.69 @@ -73,6 +73,10 @@ static void stackovf_handler (void) { + /* FIXME - calling gettext and error inside a signal handler is dangerous, + since these functions invoke functions that are not signal-safe. We + are sort of justified by the fact that we will exit and never return, + but this should really be fixed. */ M4ERROR ((EXIT_FAILURE, 0, _("Stack overflow. (Infinite define recursion?)"))); }