summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-13 17:50:47 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-13 17:50:47 +0000
commitae31368a32e82c88371b308a722e026ed05af0c1 (patch)
treed189b22b25c81aeb5ced25d2156e412d44612d2e
parent751d1ffd18cbc5c028bef67c60c295d6f13050bc (diff)
downloademacs-ae31368a32e82c88371b308a722e026ed05af0c1.tar.gz
(wait_reading_process_input) [hpux]: Workaround for
annoying messages.
-rw-r--r--src/process.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index ffaa0598f9b..a527066277b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2037,6 +2037,14 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
EMACS_SET_SECS_USECS (timeout, time_limit, microsecs);
EMACS_ADD_TIME (end_time, end_time, timeout);
}
+#ifdef hpux
+ /* AlainF 5-Jul-1996
+ HP-UX 10.10 seem to have problems with signals coming in
+ Causes "poll: interrupted system call" messages when Emacs is run
+ in an X window
+ Turn off periodic alarms (in case they are in use) */
+ stop_polling ();
+#endif
while (1)
{
@@ -2391,7 +2399,15 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
clear_input_pending ();
QUIT;
}
-
+#ifdef hpux
+ /* AlainF 5-Jul-1996
+ HP-UX 10.10 seems to have problems with signals coming in
+ Causes "poll: interrupted system call" messages when Emacs is run
+ in an X window
+ Turn periodic alarms back on */
+ start_polling();
+#endif
+
return got_some_input;
}