From: Richard M. Stallman Date: Wed, 4 Sep 1996 15:02:52 +0000 (+0000) Subject: (input_available_signal) [POSIX_SIGNALS]: X-Git-Tag: emacs-20.1~3829 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5970a8cba8740768c6ba385dbfe4192970090b43;p=emacs.git (input_available_signal) [POSIX_SIGNALS]: Don't reestablish handler. (interrupt_signal) [POSIX_SIGNALS]: Likewise. --- 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;