[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/process.c
From: |
Kim F . Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/process.c |
Date: |
Tue, 08 Nov 2005 16:38:38 -0500 |
Index: emacs/src/process.c
diff -c emacs/src/process.c:1.466 emacs/src/process.c:1.467
*** emacs/src/process.c:1.466 Fri Sep 30 22:38:15 2005
--- emacs/src/process.c Tue Nov 8 21:38:37 2005
***************
*** 5944,6040 ****
CHECK_SYMBOL (sigcode);
name = SDATA (SYMBOL_NAME (sigcode));
if (0)
;
#ifdef SIGHUP
! handle_signal ("SIGHUP", SIGHUP);
#endif
#ifdef SIGINT
! handle_signal ("SIGINT", SIGINT);
#endif
#ifdef SIGQUIT
! handle_signal ("SIGQUIT", SIGQUIT);
#endif
#ifdef SIGILL
! handle_signal ("SIGILL", SIGILL);
#endif
#ifdef SIGABRT
! handle_signal ("SIGABRT", SIGABRT);
#endif
#ifdef SIGEMT
! handle_signal ("SIGEMT", SIGEMT);
#endif
#ifdef SIGKILL
! handle_signal ("SIGKILL", SIGKILL);
#endif
#ifdef SIGFPE
! handle_signal ("SIGFPE", SIGFPE);
#endif
#ifdef SIGBUS
! handle_signal ("SIGBUS", SIGBUS);
#endif
#ifdef SIGSEGV
! handle_signal ("SIGSEGV", SIGSEGV);
#endif
#ifdef SIGSYS
! handle_signal ("SIGSYS", SIGSYS);
#endif
#ifdef SIGPIPE
! handle_signal ("SIGPIPE", SIGPIPE);
#endif
#ifdef SIGALRM
! handle_signal ("SIGALRM", SIGALRM);
#endif
#ifdef SIGTERM
! handle_signal ("SIGTERM", SIGTERM);
#endif
#ifdef SIGURG
! handle_signal ("SIGURG", SIGURG);
#endif
#ifdef SIGSTOP
! handle_signal ("SIGSTOP", SIGSTOP);
#endif
#ifdef SIGTSTP
! handle_signal ("SIGTSTP", SIGTSTP);
#endif
#ifdef SIGCONT
! handle_signal ("SIGCONT", SIGCONT);
#endif
#ifdef SIGCHLD
! handle_signal ("SIGCHLD", SIGCHLD);
#endif
#ifdef SIGTTIN
! handle_signal ("SIGTTIN", SIGTTIN);
#endif
#ifdef SIGTTOU
! handle_signal ("SIGTTOU", SIGTTOU);
#endif
#ifdef SIGIO
! handle_signal ("SIGIO", SIGIO);
#endif
#ifdef SIGXCPU
! handle_signal ("SIGXCPU", SIGXCPU);
#endif
#ifdef SIGXFSZ
! handle_signal ("SIGXFSZ", SIGXFSZ);
#endif
#ifdef SIGVTALRM
! handle_signal ("SIGVTALRM", SIGVTALRM);
#endif
#ifdef SIGPROF
! handle_signal ("SIGPROF", SIGPROF);
#endif
#ifdef SIGWINCH
! handle_signal ("SIGWINCH", SIGWINCH);
#endif
#ifdef SIGINFO
! handle_signal ("SIGINFO", SIGINFO);
#endif
#ifdef SIGUSR1
! handle_signal ("SIGUSR1", SIGUSR1);
#endif
#ifdef SIGUSR2
! handle_signal ("SIGUSR2", SIGUSR2);
#endif
else
error ("Undefined signal name %s", name);
--- 5944,6043 ----
CHECK_SYMBOL (sigcode);
name = SDATA (SYMBOL_NAME (sigcode));
+ if (!strncmp(name, "SIG", 3))
+ name += 3;
+
if (0)
;
#ifdef SIGHUP
! handle_signal ("HUP", SIGHUP);
#endif
#ifdef SIGINT
! handle_signal ("INT", SIGINT);
#endif
#ifdef SIGQUIT
! handle_signal ("QUIT", SIGQUIT);
#endif
#ifdef SIGILL
! handle_signal ("ILL", SIGILL);
#endif
#ifdef SIGABRT
! handle_signal ("ABRT", SIGABRT);
#endif
#ifdef SIGEMT
! handle_signal ("EMT", SIGEMT);
#endif
#ifdef SIGKILL
! handle_signal ("KILL", SIGKILL);
#endif
#ifdef SIGFPE
! handle_signal ("FPE", SIGFPE);
#endif
#ifdef SIGBUS
! handle_signal ("BUS", SIGBUS);
#endif
#ifdef SIGSEGV
! handle_signal ("SEGV", SIGSEGV);
#endif
#ifdef SIGSYS
! handle_signal ("SYS", SIGSYS);
#endif
#ifdef SIGPIPE
! handle_signal ("PIPE", SIGPIPE);
#endif
#ifdef SIGALRM
! handle_signal ("ALRM", SIGALRM);
#endif
#ifdef SIGTERM
! handle_signal ("TERM", SIGTERM);
#endif
#ifdef SIGURG
! handle_signal ("URG", SIGURG);
#endif
#ifdef SIGSTOP
! handle_signal ("STOP", SIGSTOP);
#endif
#ifdef SIGTSTP
! handle_signal ("TSTP", SIGTSTP);
#endif
#ifdef SIGCONT
! handle_signal ("CONT", SIGCONT);
#endif
#ifdef SIGCHLD
! handle_signal ("CHLD", SIGCHLD);
#endif
#ifdef SIGTTIN
! handle_signal ("TTIN", SIGTTIN);
#endif
#ifdef SIGTTOU
! handle_signal ("TTOU", SIGTTOU);
#endif
#ifdef SIGIO
! handle_signal ("IO", SIGIO);
#endif
#ifdef SIGXCPU
! handle_signal ("XCPU", SIGXCPU);
#endif
#ifdef SIGXFSZ
! handle_signal ("XFSZ", SIGXFSZ);
#endif
#ifdef SIGVTALRM
! handle_signal ("VTALRM", SIGVTALRM);
#endif
#ifdef SIGPROF
! handle_signal ("PROF", SIGPROF);
#endif
#ifdef SIGWINCH
! handle_signal ("WINCH", SIGWINCH);
#endif
#ifdef SIGINFO
! handle_signal ("INFO", SIGINFO);
#endif
#ifdef SIGUSR1
! handle_signal ("USR1", SIGUSR1);
#endif
#ifdef SIGUSR2
! handle_signal ("USR2", SIGUSR2);
#endif
else
error ("Undefined signal name %s", name);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/process.c,
Kim F . Storm <=