diff options
| author | Karl Heuer | 1996-07-13 17:50:47 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-07-13 17:50:47 +0000 |
| commit | e07d54499f933e4cdcc2810013793695fc1adc83 (patch) | |
| tree | f2f563c20bd99d79fdf080df472c03356520e8e0 /src | |
| parent | 56a2f57a0d5ef7571ab523db10b187c3db65986c (diff) | |
| download | emacs-e07d54499f933e4cdcc2810013793695fc1adc83.tar.gz emacs-e07d54499f933e4cdcc2810013793695fc1adc83.zip | |
(wait_reading_process_input) [hpux]: Workaround for
annoying messages.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 18 |
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) | |||
| 2037 | EMACS_SET_SECS_USECS (timeout, time_limit, microsecs); | 2037 | EMACS_SET_SECS_USECS (timeout, time_limit, microsecs); |
| 2038 | EMACS_ADD_TIME (end_time, end_time, timeout); | 2038 | EMACS_ADD_TIME (end_time, end_time, timeout); |
| 2039 | } | 2039 | } |
| 2040 | #ifdef hpux | ||
| 2041 | /* AlainF 5-Jul-1996 | ||
| 2042 | HP-UX 10.10 seem to have problems with signals coming in | ||
| 2043 | Causes "poll: interrupted system call" messages when Emacs is run | ||
| 2044 | in an X window | ||
| 2045 | Turn off periodic alarms (in case they are in use) */ | ||
| 2046 | stop_polling (); | ||
| 2047 | #endif | ||
| 2040 | 2048 | ||
| 2041 | while (1) | 2049 | while (1) |
| 2042 | { | 2050 | { |
| @@ -2391,7 +2399,15 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 2391 | clear_input_pending (); | 2399 | clear_input_pending (); |
| 2392 | QUIT; | 2400 | QUIT; |
| 2393 | } | 2401 | } |
| 2394 | 2402 | #ifdef hpux | |
| 2403 | /* AlainF 5-Jul-1996 | ||
| 2404 | HP-UX 10.10 seems to have problems with signals coming in | ||
| 2405 | Causes "poll: interrupted system call" messages when Emacs is run | ||
| 2406 | in an X window | ||
| 2407 | Turn periodic alarms back on */ | ||
| 2408 | start_polling(); | ||
| 2409 | #endif | ||
| 2410 | |||
| 2395 | return got_some_input; | 2411 | return got_some_input; |
| 2396 | } | 2412 | } |
| 2397 | 2413 | ||