diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/process.c b/src/process.c index 0878051f733..e028ab93503 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -2785,9 +2785,7 @@ usage: (serial-process-configure &rest ARGS) */) | |||
| 2785 | UNGCPRO; | 2785 | UNGCPRO; |
| 2786 | return Qnil; | 2786 | return Qnil; |
| 2787 | } | 2787 | } |
| 2788 | #endif /* HAVE_SERIAL */ | ||
| 2789 | 2788 | ||
| 2790 | #ifdef HAVE_SERIAL | ||
| 2791 | /* Used by make-serial-process to recover from errors. */ | 2789 | /* Used by make-serial-process to recover from errors. */ |
| 2792 | Lisp_Object make_serial_process_unwind (Lisp_Object proc) | 2790 | Lisp_Object make_serial_process_unwind (Lisp_Object proc) |
| 2793 | { | 2791 | { |
| @@ -2796,9 +2794,7 @@ Lisp_Object make_serial_process_unwind (Lisp_Object proc) | |||
| 2796 | remove_process (proc); | 2794 | remove_process (proc); |
| 2797 | return Qnil; | 2795 | return Qnil; |
| 2798 | } | 2796 | } |
| 2799 | #endif /* HAVE_SERIAL */ | ||
| 2800 | 2797 | ||
| 2801 | #ifdef HAVE_SERIAL | ||
| 2802 | DEFUN ("make-serial-process", Fmake_serial_process, Smake_serial_process, | 2798 | DEFUN ("make-serial-process", Fmake_serial_process, Smake_serial_process, |
| 2803 | 0, MANY, 0, | 2799 | 0, MANY, 0, |
| 2804 | doc: /* Create and return a serial port process. | 2800 | doc: /* Create and return a serial port process. |
| @@ -4912,19 +4908,6 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display, | |||
| 4912 | IF_NON_BLOCKING_CONNECT (check_connect = 0); | 4908 | IF_NON_BLOCKING_CONNECT (check_connect = 0); |
| 4913 | } | 4909 | } |
| 4914 | 4910 | ||
| 4915 | #if defined(sun) && !defined(USG5_4) | ||
| 4916 | if (nfds > 0 && keyboard_bit_set (&Available) | ||
| 4917 | && interrupt_input) | ||
| 4918 | /* System sometimes fails to deliver SIGIO. | ||
| 4919 | |||
| 4920 | David J. Mackenzie says that Emacs doesn't compile under | ||
| 4921 | Solaris if this code is enabled, thus the USG5_4 in the CPP | ||
| 4922 | conditional. "I haven't noticed any ill effects so far. | ||
| 4923 | If you find a Solaris expert somewhere, they might know | ||
| 4924 | better." */ | ||
| 4925 | kill (getpid (), SIGIO); | ||
| 4926 | #endif | ||
| 4927 | |||
| 4928 | #if 0 /* When polling is used, interrupt_input is 0, | 4911 | #if 0 /* When polling is used, interrupt_input is 0, |
| 4929 | so get_input_pending should read the input. | 4912 | so get_input_pending should read the input. |
| 4930 | So this should not be needed. */ | 4913 | So this should not be needed. */ |
| @@ -7704,7 +7687,7 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display, | |||
| 7704 | else | 7687 | else |
| 7705 | error ("select error: %s", emacs_strerror (xerrno)); | 7688 | error ("select error: %s", emacs_strerror (xerrno)); |
| 7706 | } | 7689 | } |
| 7707 | #ifdef sun | 7690 | #ifdef SOLARIS2 |
| 7708 | else if (nfds > 0 && (waitchannels & 1) && interrupt_input) | 7691 | else if (nfds > 0 && (waitchannels & 1) && interrupt_input) |
| 7709 | /* System sometimes fails to deliver SIGIO. */ | 7692 | /* System sometimes fails to deliver SIGIO. */ |
| 7710 | kill (getpid (), SIGIO); | 7693 | kill (getpid (), SIGIO); |