diff options
| author | Dan Nicolaescu | 2010-03-22 12:51:59 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-03-22 12:51:59 -0700 |
| commit | df7734b220de9c61575677adbc1f431ef6703d84 (patch) | |
| tree | 473e250a995414540138dd17c4b4741b2b020e91 /src/data.c | |
| parent | 64cb11ccee98233ad1c44496f4dd6fed8e64a155 (diff) | |
| download | emacs-df7734b220de9c61575677adbc1f431ef6703d84.tar.gz emacs-df7734b220de9c61575677adbc1f431ef6703d84.zip | |
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.
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/data.c b/src/data.c index e405ca6af9e..bdba3a9bb36 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -3291,11 +3291,6 @@ SIGTYPE | |||
| 3291 | arith_error (signo) | 3291 | arith_error (signo) |
| 3292 | int signo; | 3292 | int signo; |
| 3293 | { | 3293 | { |
| 3294 | #if defined(USG) && !defined(POSIX_SIGNALS) | ||
| 3295 | /* USG systems forget handlers when they are used; | ||
| 3296 | must reestablish each time */ | ||
| 3297 | signal (signo, arith_error); | ||
| 3298 | #endif /* USG */ | ||
| 3299 | sigsetmask (SIGEMPTYMASK); | 3294 | sigsetmask (SIGEMPTYMASK); |
| 3300 | 3295 | ||
| 3301 | SIGNAL_THREAD_CHECK (signo); | 3296 | SIGNAL_THREAD_CHECK (signo); |