summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-10-08 09:42:24 +0000
committerGerd Moellmann <gerd@gnu.org>2001-10-08 09:42:24 +0000
commit3ecd9cc373e093b541ec10283ba83fe6dae58c14 (patch)
tree9c06c9d77f70e843bbc946ba3ab926b495a814ad /src
parent402c9a512185f6748803868c1c0ed503227d3301 (diff)
downloademacs-3ecd9cc373e093b541ec10283ba83fe6dae58c14.tar.gz
(alarm_signal_handler) [USG && !POSIX_SIGNALS]:
Remove code setting signal handler.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/atimer.c6
2 files changed, 3 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 526ec3146e6..823289fa6cf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
2001-10-08 Gerd Moellmann <gerd@gnu.org>
+ * atimer.c (alarm_signal_handler) [USG && !POSIX_SIGNALS]:
+ Remove code setting signal handler.
+
* sysdep.c (child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]:
Clear ICRNL and INLCR. From Daiki Ueno <ueno@unixuser.org>.
diff --git a/src/atimer.c b/src/atimer.c
index 6bf685cec3c..492aa4ec04e 100644
--- a/src/atimer.c
+++ b/src/atimer.c
@@ -391,12 +391,6 @@ alarm_signal_handler (signo)
EMACS_GET_TIME (now);
}
-#if defined (USG) && !defined (POSIX_SIGNALS)
- /* USG systems forget handlers when they are used;
- must reestablish each time. */
- signal (SIGALRM, alarm_signal_handler);
-#endif /* USG */
-
set_alarm ();
}