Mercurial > emacs
changeset 49894:675b86cf29fc
(wait_reading_process_input): Use POLL_INTERRUPTED_SYS_CALL, not
POLLING_PROBLEM_IN_SELECT.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 21 Feb 2003 08:05:55 +0000 |
parents | 1bcf8d62f4cd |
children | 58d11522f3bc |
files | src/process.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Fri Feb 21 08:05:15 2003 +0000 +++ b/src/process.c Fri Feb 21 08:05:55 2003 +0000 @@ -3793,7 +3793,7 @@ EMACS_SET_SECS_USECS (timeout, time_limit, microsecs); EMACS_ADD_TIME (end_time, end_time, timeout); } -#ifdef POLLING_PROBLEM_IN_SELECT +#ifdef POLL_INTERRUPTED_SYS_CALL /* 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 @@ -3802,7 +3802,7 @@ and then turn off any other atimers. */ stop_polling (); turn_on_atimers (0); -#endif +#endif /* POLL_INTERRUPTED_SYS_CALL */ while (1) { @@ -4354,14 +4354,14 @@ clear_input_pending (); QUIT; } -#ifdef hpux +#ifdef POLL_INTERRUPTED_SYS_CALL /* 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 +#endif /* POLL_INTERRUPTED_SYS_CALL */ return got_some_input; }