Mercurial > emacs
changeset 14758:849458c13c0c
(wait_reading_process_input):
Pass DO_DISPLAY to detect_input_pending_run_timers.
(Fopen_network_stream): Set immediate_quit around gethostbyname.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 05 Mar 1996 17:33:27 +0000 |
parents | 99125e1e8bac |
children | f93ed65c0584 |
files | src/process.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Tue Mar 05 17:26:19 1996 +0000 +++ b/src/process.c Tue Mar 05 17:33:27 1996 +0000 @@ -1670,7 +1670,10 @@ #ifdef TRY_AGAIN h_errno = 0; #endif + immediate_quit = 1; + QUIT; host_info_ptr = gethostbyname (XSTRING (host)->data); + immediate_quit = 0; #ifdef TRY_AGAIN if (! (host_info_ptr == 0 && h_errno == TRY_AGAIN)) #endif @@ -2228,10 +2231,10 @@ } if ((XINT (read_kbd) > 0 || wait_for_cell) - && detect_input_pending_run_timers ()) + && detect_input_pending_run_timers (do_display)) { swallow_events (do_display); - if (detect_input_pending_run_timers ()) + if (detect_input_pending_run_timers (do_display)) break; }