changeset 2815:60f122cfe785

* 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.
author Jim Blandy <jimb@redhat.com>
date Sat, 15 May 1993 23:20:33 +0000
parents 0da5b58e98ed
children 7c0be881a633
files src/process.c src/s/sol2.h
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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