diff src/keyboard.c @ 83153:8a11bf743e66

Don't core dump on SIGINT when there is no frame on the controlling tty. * src/keyboard.c (interrupt_signal): Don't call Fkill_emacs from a signal handler; use fatal_error_signal instead. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-193
author Karoly Lorentey <lorentey@elte.hu>
date Tue, 08 Jun 2004 00:41:04 +0000
parents f004099bad61
children 33be94fa3695
line wrap: on
line diff
--- a/src/keyboard.c	Tue Jun 08 00:37:38 2004 +0000
+++ b/src/keyboard.c	Tue Jun 08 00:41:04 2004 +0000
@@ -10328,7 +10328,7 @@
     {
       /* If there are no frames there, let's pretend that we are a
          well-behaving UN*X program and quit. */
-      Fkill_emacs (Qnil);
+      fatal_error_signal (getpid (), SIGTERM);
     }
   else
     {