summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-15 21:41:00 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-15 21:41:00 +0000
commitd3f877a036f5eaeb9174aa2626995fdc45f04127 (patch)
tree37a2b89589587201301d9bbbfdd40370e3c9c26e /src
parentb01e7fa651d052fbf09ec39c3d7dfedf4eceeb85 (diff)
downloademacs-d3f877a036f5eaeb9174aa2626995fdc45f04127.tar.gz
(input_available_signal, interrupt_signal):
Don't reinstall sig handler if POSIX_SIGNALS.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index e01e7e17f93..f46194dd62f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -4927,7 +4927,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);
@@ -7365,7 +7365,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;