Mercurial > emacs
changeset 1012:a48ed1d416dd
* process.c (process_send_signal): Don't send SIGTSTP if the
system doesn't have that facility.
* process.c: [USG5] Don't include <fcntl.h>.
[USG] Don't bother including termios, termio, or fcntl; systerm.h
takes care of all that.
Remove the "mis;tak-+;;" line from the code; apparently this
section of code does get used.
* process.c (wait_reading_process_input): Put comments around
text following #endif.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 19 Aug 1992 06:35:23 +0000 |
parents | a7f08730f7ae |
children | 6bf2c4766d4c |
files | src/process.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Wed Aug 19 06:34:26 1992 +0000 +++ b/src/process.c Wed Aug 19 06:35:23 1992 +0000 @@ -48,7 +48,7 @@ #if defined(BSD) || defined(STRIDE) #include <sys/ioctl.h> -#if !defined (O_NDELAY) && defined (HAVE_PTYS) +#if !defined (O_NDELAY) && defined (HAVE_PTYS) && !defined(USG5) #include <fcntl.h> #endif /* HAVE_PTYS and no O_NDELAY */ #endif /* BSD or STRIDE */ @@ -119,7 +119,6 @@ #ifndef VMS #ifndef WAITTYPE #if !defined (BSD) && !defined (UNIPLUS) && !defined (STRIDE) && !(defined (HPUX) && !defined (NOMULTIPLEJOBS)) && !defined (HAVE_WAIT_HEADER) -mis;tak-+;;: #define WAITTYPE int #define WIFSTOPPED(w) ((w&0377) == 0177) #define WIFSIGNALED(w) ((w&0377) != 0177 && (w&~0377) == 0) @@ -1796,7 +1795,7 @@ Available &= ~(ChannelMask (comm_server)); create_commchan (); } -#endif vipc +#endif /* vipc */ if (! wait_proc) got_some_input |= nfds > 0; @@ -2245,10 +2244,12 @@ ioctl (XFASTINT (p->infd), TIOCGETC, &c); send_process (proc, &c.t_quitc, 1); return Qnil; +#ifdef SIGTSTP case SIGTSTP: ioctl (XFASTINT (p->infd), TIOCGLTC, &lc); send_process (proc, &lc.t_suspc, 1); return Qnil; +#endif /* SIGTSTP */ } #endif /* ! defined (TIOCGLTC) && defined (TIOCGETC) */ /* It is possible that the following code would work