diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 5ee921df4cb..db3a747d8cc 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -346,7 +346,7 @@ wait_for_termination (pid) | |||
| 346 | sigunblock (sigmask (SIGCHLD)); | 346 | sigunblock (sigmask (SIGCHLD)); |
| 347 | break; | 347 | break; |
| 348 | } | 348 | } |
| 349 | sigpause (sigmask (SIGCHLD)); | 349 | sigpause (SIGEMPTYMASK); |
| 350 | #else /* not POSIX_SIGNALS */ | 350 | #else /* not POSIX_SIGNALS */ |
| 351 | #ifdef HAVE_SYSV_SIGPAUSE | 351 | #ifdef HAVE_SYSV_SIGPAUSE |
| 352 | sighold (SIGCHLD); | 352 | sighold (SIGCHLD); |
| @@ -567,7 +567,11 @@ sys_suspend () | |||
| 567 | #else | 567 | #else |
| 568 | #ifdef SIGTSTP | 568 | #ifdef SIGTSTP |
| 569 | 569 | ||
| 570 | #ifdef GETPGRP_NO_ARG | ||
| 571 | EMACS_KILLPG (getpgrp (), SIGTSTP); | ||
| 572 | #else | ||
| 570 | EMACS_KILLPG (getpgrp (0), SIGTSTP); | 573 | EMACS_KILLPG (getpgrp (0), SIGTSTP); |
| 574 | #endif | ||
| 571 | 575 | ||
| 572 | #else /* No SIGTSTP */ | 576 | #else /* No SIGTSTP */ |
| 573 | #ifdef USG_JOBCTRL /* If you don't know what this is don't mess with it */ | 577 | #ifdef USG_JOBCTRL /* If you don't know what this is don't mess with it */ |
| @@ -1031,6 +1035,18 @@ init_sys_modes () | |||
| 1031 | #ifdef VDSUSP /* Some systems have VDSUSP, some have V_DSUSP. */ | 1035 | #ifdef VDSUSP /* Some systems have VDSUSP, some have V_DSUSP. */ |
| 1032 | tty.main.c_cc[VDSUSP] = CDISABLE; | 1036 | tty.main.c_cc[VDSUSP] = CDISABLE; |
| 1033 | #endif /* VDSUSP */ | 1037 | #endif /* VDSUSP */ |
| 1038 | #ifdef VLNEXT | ||
| 1039 | tty.main.c_cc[VLNEXT] = CDISABLE; | ||
| 1040 | #endif /* VLNEXT */ | ||
| 1041 | #ifdef VREPRINT | ||
| 1042 | tty.main.c_cc[VREPRINT] = CDISABLE; | ||
| 1043 | #endif /* VREPRINT */ | ||
| 1044 | #ifdef VWERASE | ||
| 1045 | tty.main.c_cc[VWERASE] = CDISABLE; | ||
| 1046 | #endif /* VWERASE */ | ||
| 1047 | #ifdef VDISCARD | ||
| 1048 | tty.main.c_cc[VDISCARD] = CDISABLE; | ||
| 1049 | #endif /* VDISCARD */ | ||
| 1034 | #endif /* mips or HAVE_TCATTR */ | 1050 | #endif /* mips or HAVE_TCATTR */ |
| 1035 | #ifdef AIX | 1051 | #ifdef AIX |
| 1036 | #ifndef IBMR2AIX | 1052 | #ifndef IBMR2AIX |