changeset 15688:0a8875981734

(input_available_signal, interrupt_signal): Don't reinstall sig handler if POSIX_SIGNALS.
author Karl Heuer <kwzh@gnu.org>
date Mon, 15 Jul 1996 21:41:00 +0000
parents a7e682390026
children 7f87e3c7b29c
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Mon Jul 15 21:38:40 1996 +0000
+++ b/src/keyboard.c	Mon Jul 15 21:41:00 1996 +0000
@@ -4927,7 +4927,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);
@@ -7365,7 +7365,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;