# HG changeset patch # User Richard M. Stallman # Date 1036558906 0 # Node ID 8314ced58ef2bef327f0aefad9d1510b2b18dd84 # Parent 9fca08a4ea912db915af0ffe68e1451df891bb38 (wait_reading_process_input): Test POLLING_PROBLEM_IN_SELECT, not hpux. Avoid initialization for auto Lisp_Object var. diff -r 9fca08a4ea91 -r 8314ced58ef2 src/process.c --- a/src/process.c Wed Nov 06 04:58:50 2002 +0000 +++ b/src/process.c Wed Nov 06 05:01:46 2002 +0000 @@ -3716,7 +3716,7 @@ EMACS_SET_SECS_USECS (timeout, time_limit, microsecs); EMACS_ADD_TIME (end_time, end_time, timeout); } -#ifdef hpux +#ifdef POLLING_PROBLEM_IN_SELECT /* 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 @@ -6412,7 +6412,9 @@ int xerrno; /* Either nil or a cons cell, the car of which is of interest and may be changed outside of this routine. */ - Lisp_Object wait_for_cell = Qnil; + Lisp_Object wait_for_cell; + + wait_for_cell = Qnil; /* If waiting for non-nil in a cell, record where. */ if (CONSP (read_kbd))