changeset 39035:217755d3b319

(shut_down_emacs): Don't call check_glyph_memory and check_message_stack if temrinating normally. We want glyph matrices etc. in a core dump.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 30 Aug 2001 13:35:28 +0000
parents fe47985d622a
children 9ce039b7595b
files src/emacs.c
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Thu Aug 30 12:15:09 2001 +0000
+++ b/src/emacs.c	Thu Aug 30 13:35:28 2001 +0000
@@ -1912,8 +1912,13 @@
   term_ntproc ();
 #endif
 
-  check_glyph_memory ();
-  check_message_stack ();
+  /* Do this only if terminating normally, we want glyph matrices
+     etc. in a core dump.  */
+  if (sig && sig != SIGTERM)
+    {
+      check_glyph_memory ();
+      check_message_stack ();
+    }
 
 #ifdef MSDOS
   dos_cleanup ();