# HG changeset patch # User Jim Blandy # Date 737508033 0 # Node ID 60f122cfe785759c03cdcfbd8868ad8c3de19680 # Parent 0da5b58e98edd623c9f75843dd2ef88cbb760436 * process.c (wait_reading_process_input): If we're running Solaris, it's not necessary to check if we should redeliver SIGIO, according to David Mackenzie. * s/sol2.h: #include "usg5-4.h", and #define const. diff -r 0da5b58e98ed -r 60f122cfe785 src/process.c --- a/src/process.c Sat May 15 23:06:16 1993 +0000 +++ b/src/process.c Sat May 15 23:20:33 1993 +0000 @@ -1841,7 +1841,7 @@ else error("select error: %s", sys_errlist[xerrno]); } -#ifdef sun +#if defined(sun) && !defined(USG5_4) else if (nfds > 0 && FD_ISSET (0, &Available) && interrupt_input) /* System sometimes fails to deliver SIGIO. */ kill (getpid (), SIGIO); diff -r 0da5b58e98ed -r 60f122cfe785 src/s/sol2.h --- a/src/s/sol2.h Sat May 15 23:06:16 1993 +0000 +++ b/src/s/sol2.h Sat May 15 23:20:33 1993 +0000 @@ -1,4 +1,4 @@ -#include "s-usg5-4.h" +#include "usg5-4.h" #define POSIX @@ -17,6 +17,7 @@ #else /* GCC */ #define C_SWITCH_SYSTEM -traditional #endif /* GCC */ +#define const /* Karl Berry writes: If you have the misfortune to be running Solaris 2.1, you may have