Mercurial > emacs
changeset 16115:cc8c3e2cc6ed
(input_available_signal) [POSIX_SIGNALS]:
Don't reestablish handler.
(interrupt_signal) [POSIX_SIGNALS]: Likewise.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 04 Sep 1996 15:02:52 +0000 |
parents | 684bc6b9a60b |
children | 80a67b8f39e9 |
files | src/keyboard.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Wed Sep 04 14:57:40 1996 +0000 +++ b/src/keyboard.c Wed Sep 04 15:02:52 1996 +0000 @@ -4907,7 +4907,7 @@ extern int select_alarmed; #endif -#ifdef USG +#if defined (USG) && !defined (POSIX_SIGNALS) /* USG systems forget handlers when they are used; must reestablish each time */ signal (signo, input_available_signal); @@ -7364,7 +7364,7 @@ /* Must preserve main program's value of errno. */ int old_errno = errno; -#ifdef USG +#if defined (USG) && !defined (POSIX_SIGNALS) if (!read_socket_hook && NILP (Vwindow_system)) { /* USG systems forget handlers when they are used;