HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea444c
)
Don't core dump on SIGINT when there is no frame on the controlling tty.
author
Karoly Lorentey
<lorentey@elte.hu>
Tue, 8 Jun 2004 00:41:04 +0000
(
00:41
+0000)
committer
Karoly Lorentey
<lorentey@elte.hu>
Tue, 8 Jun 2004 00:41:04 +0000
(
00:41
+0000)
* 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
src/keyboard.c
patch
|
blob
|
blame
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index
bf083c2
..
cd3b4f6
100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-10328,7
+10328,7
@@
interrupt_signal (signalnum) /* If we don't have an argument, */
{
/* 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
{