From 5970a8cba8740768c6ba385dbfe4192970090b43 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 4 Sep 1996 15:02:52 +0000 Subject: [PATCH] (input_available_signal) [POSIX_SIGNALS]: Don't reestablish handler. (interrupt_signal) [POSIX_SIGNALS]: Likewise. --- src/keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index b1578a3a949..f0a95c3e5ab 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -4907,7 +4907,7 @@ input_available_signal (signo) 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 @@ interrupt_signal (signalnum) /* If we don't have an argument, */ /* 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; -- 2.39.2