diff options
| author | Jim Blandy | 1993-05-15 23:20:33 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-15 23:20:33 +0000 |
| commit | 26ec91de259ae06812cc20d131369f716b5474eb (patch) | |
| tree | 70023789dada6bd6bbf17d1133cfbcdc0f2986f2 /src | |
| parent | d2d92f7a66e5b24258b4ad77ee31110385a53297 (diff) | |
| download | emacs-26ec91de259ae06812cc20d131369f716b5474eb.tar.gz emacs-26ec91de259ae06812cc20d131369f716b5474eb.zip | |
* 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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 2 | ||||
| -rw-r--r-- | src/s/sol2.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 2c3ad252a68..d056e1111bf 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1841,7 +1841,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 1841 | else | 1841 | else |
| 1842 | error("select error: %s", sys_errlist[xerrno]); | 1842 | error("select error: %s", sys_errlist[xerrno]); |
| 1843 | } | 1843 | } |
| 1844 | #ifdef sun | 1844 | #if defined(sun) && !defined(USG5_4) |
| 1845 | else if (nfds > 0 && FD_ISSET (0, &Available) && interrupt_input) | 1845 | else if (nfds > 0 && FD_ISSET (0, &Available) && interrupt_input) |
| 1846 | /* System sometimes fails to deliver SIGIO. */ | 1846 | /* System sometimes fails to deliver SIGIO. */ |
| 1847 | kill (getpid (), SIGIO); | 1847 | kill (getpid (), SIGIO); |
diff --git a/src/s/sol2.h b/src/s/sol2.h index 18d6d74f1cc..56458203de2 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #include "s-usg5-4.h" | 1 | #include "usg5-4.h" |
| 2 | 2 | ||
| 3 | #define POSIX | 3 | #define POSIX |
| 4 | 4 | ||
| @@ -17,6 +17,7 @@ | |||
| 17 | #else /* GCC */ | 17 | #else /* GCC */ |
| 18 | #define C_SWITCH_SYSTEM -traditional | 18 | #define C_SWITCH_SYSTEM -traditional |
| 19 | #endif /* GCC */ | 19 | #endif /* GCC */ |
| 20 | #define const | ||
| 20 | 21 | ||
| 21 | /* Karl Berry writes: | 22 | /* Karl Berry writes: |
| 22 | If you have the misfortune to be running Solaris 2.1, you may have | 23 | If you have the misfortune to be running Solaris 2.1, you may have |