diff options
| author | Dan Nicolaescu | 2008-07-20 13:03:56 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-20 13:03:56 +0000 |
| commit | 89f1e540e1bbee8224fa3e5fddbc92cc44d657c1 (patch) | |
| tree | 5e6629717aac76f425718f331b75e9b9814aba5d /src/process.c | |
| parent | 697baba53198bd8c6ab0e063b1941aac44e751bc (diff) | |
| download | emacs-89f1e540e1bbee8224fa3e5fddbc92cc44d657c1.tar.gz emacs-89f1e540e1bbee8224fa3e5fddbc92cc44d657c1.zip | |
* s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this was
added not supported anymore.
* s/usg5-4-2.h (LIBS_SYSTEM):
* s/sol2.h (LIBS_SYSTEM): Do not undefine.
* s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF):
* s/lynxos.h (GETPGRP_NO_ARG):
* s/hpux10-20.h (NO_SIOCTL_H):
* s/gnu.h (GETPGRP_NO_ARG):
* s/gnu-linux.h (NO_SIOCTL_H):
* s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF):
* s/cygwin.h (GETPGRP_NO_ARG):
* s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused.
(C_DEBUG_SWITCH): Remove duplicate definition.
* m/ibms390.h: Remove boilerplate comments.
* sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4.
* process.c (HAVE_SERIAL): Consolidate ifdefs.
(wait_reading_process_output): Remove code for SunOS, platform not
supported anymore. Use SOLARIS2 instead of sun.
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); |