# HG changeset patch # User Gerd Moellmann # Date 999178584 0 # Node ID 9ce039b7595be65b5a01f0009f921fddbe8e9f6a # Parent 217755d3b31982a8419eb69939f5285b2f6439ea (shut_down_emacs): Fix last change. diff -r 217755d3b319 -r 9ce039b7595b src/emacs.c --- a/src/emacs.c Thu Aug 30 13:35:28 2001 +0000 +++ b/src/emacs.c Thu Aug 30 13:36:24 2001 +0000 @@ -1914,7 +1914,7 @@ /* Do this only if terminating normally, we want glyph matrices etc. in a core dump. */ - if (sig && sig != SIGTERM) + if (sig == 0 || sig == SIGTERM) { check_glyph_memory (); check_message_stack ();