[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/emacs.c,v
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] Changes to emacs/src/emacs.c,v |
Date: |
Thu, 14 Dec 2006 08:41:23 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: YAMAMOTO Mitsuharu <mituharu> 06/12/14 08:41:23
Index: emacs.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/emacs.c,v
retrieving revision 1.394
retrieving revision 1.395
diff -u -b -r1.394 -r1.395
--- emacs.c 8 Dec 2006 00:20:17 -0000 1.394
+++ emacs.c 14 Dec 2006 08:41:23 -0000 1.395
@@ -361,24 +361,6 @@
#endif
-#if defined (SIGUSR1) || defined (SIGUSR2)
-SIGTYPE
-handle_user_signal (sig)
- int sig;
-{
- struct input_event buf;
-
- SIGNAL_THREAD_CHECK (sig);
- bzero (&buf, sizeof buf);
- buf.kind = USER_SIGNAL_EVENT;
- buf.frame_or_window = selected_frame;
-
- kbd_buffer_store_event (&buf);
- buf.code = sig;
- kbd_buffer_store_event (&buf);
-}
-#endif
-
/* Handle bus errors, invalid instruction, etc. */
SIGTYPE
fatal_error_signal (sig)
@@ -1211,10 +1193,10 @@
signal (SIGILL, fatal_error_signal);
signal (SIGTRAP, fatal_error_signal);
#ifdef SIGUSR1
- signal (SIGUSR1, handle_user_signal);
+ add_user_signal (SIGUSR1, "usr1");
#endif
#ifdef SIGUSR2
- signal (SIGUSR2, handle_user_signal);
+ add_user_signal (SIGUSR2, "usr2");
#endif
#ifdef SIGABRT
signal (SIGABRT, fatal_error_signal);
- [Emacs-diffs] Changes to emacs/src/emacs.c,v, Kim F. Storm, 2006/12/04
- [Emacs-diffs] Changes to emacs/src/emacs.c,v, Juanma Barranquero, 2006/12/07
- [Emacs-diffs] Changes to emacs/src/emacs.c,v,
YAMAMOTO Mitsuharu <=
- [Emacs-diffs] Changes to emacs/src/emacs.c,v, Eli Zaretskii, 2006/12/15
- [Emacs-diffs] Changes to emacs/src/emacs.c,v, Kim F. Storm, 2006/12/19