Mercurial > emacs
diff src/data.c @ 107460:c3852852bbc0
Remove dead code dealing with POSIX_SIGNALS.
* atimer.c (set_alarm): Remove dead code, all USG systems define
POSIX_SIGNALS.
* data.c (arith_error): Likewise.
* keyboard.c (input_available_signal, handle_user_signal)
(interrupt_signal): Likewise.
* process.c (sigchld_handler): Likewise.
(create_process): Remove if 0 code. Remove HPUX conditional when
!defined (POSIX_SIGNALS), it cannot be true.
* syssignal.h: Remove USG5_4 and USG conditionals when
!POSIX_SIGNALS, they cannot be true.
| author | Dan Nicolaescu <dann@ics.uci.edu> |
|---|---|
| date | Mon, 22 Mar 2010 12:51:59 -0700 |
| parents | 1d1d5d9bd884 |
| children | bef5d1738c0b |
line wrap: on
line diff
--- a/src/data.c Mon Mar 22 09:33:21 2010 -0400 +++ b/src/data.c Mon Mar 22 12:51:59 2010 -0700 @@ -3291,11 +3291,6 @@ arith_error (signo) int signo; { -#if defined(USG) && !defined(POSIX_SIGNALS) - /* USG systems forget handlers when they are used; - must reestablish each time */ - signal (signo, arith_error); -#endif /* USG */ sigsetmask (SIGEMPTYMASK); SIGNAL_THREAD_CHECK (signo);
