diff options
| author | Richard M. Stallman | 2002-11-06 05:01:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-11-06 05:01:46 +0000 |
| commit | 454fd6b4efc3e85b51967ae8c84e6bc1670854a7 (patch) | |
| tree | df09e193ad826e2c5b9de39fa2d895e7a3696056 /src/process.c | |
| parent | 45bec201a1e96a1ccf808c0901fbae9a8a336889 (diff) | |
| download | emacs-454fd6b4efc3e85b51967ae8c84e6bc1670854a7.tar.gz emacs-454fd6b4efc3e85b51967ae8c84e6bc1670854a7.zip | |
(wait_reading_process_input):
Test POLLING_PROBLEM_IN_SELECT, not hpux.
Avoid initialization for auto Lisp_Object var.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 2f2017dbeac..83b25928a55 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3716,7 +3716,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 3716 | EMACS_SET_SECS_USECS (timeout, time_limit, microsecs); | 3716 | EMACS_SET_SECS_USECS (timeout, time_limit, microsecs); |
| 3717 | EMACS_ADD_TIME (end_time, end_time, timeout); | 3717 | EMACS_ADD_TIME (end_time, end_time, timeout); |
| 3718 | } | 3718 | } |
| 3719 | #ifdef hpux | 3719 | #ifdef POLLING_PROBLEM_IN_SELECT |
| 3720 | /* AlainF 5-Jul-1996 | 3720 | /* AlainF 5-Jul-1996 |
| 3721 | HP-UX 10.10 seem to have problems with signals coming in | 3721 | HP-UX 10.10 seem to have problems with signals coming in |
| 3722 | Causes "poll: interrupted system call" messages when Emacs is run | 3722 | Causes "poll: interrupted system call" messages when Emacs is run |
| @@ -6412,7 +6412,9 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 6412 | int xerrno; | 6412 | int xerrno; |
| 6413 | /* Either nil or a cons cell, the car of which is of interest and | 6413 | /* Either nil or a cons cell, the car of which is of interest and |
| 6414 | may be changed outside of this routine. */ | 6414 | may be changed outside of this routine. */ |
| 6415 | Lisp_Object wait_for_cell = Qnil; | 6415 | Lisp_Object wait_for_cell; |
| 6416 | |||
| 6417 | wait_for_cell = Qnil; | ||
| 6416 | 6418 | ||
| 6417 | /* If waiting for non-nil in a cell, record where. */ | 6419 | /* If waiting for non-nil in a cell, record where. */ |
| 6418 | if (CONSP (read_kbd)) | 6420 | if (CONSP (read_kbd)) |