# HG changeset patch # User Karoly Lorentey # Date 1086655264 0 # Node ID 8a11bf743e667a82f43a5cb30f85b0fb24e8d799 # Parent 632f9d4fdffb68c0b7c1a017f91045ac65867658 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 diff -r 632f9d4fdffb -r 8a11bf743e66 src/keyboard.c --- 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 {