Mercurial > emacs
changeset 9882:ccc5562a7194
(create_process) [OSF1]: Use setpgid, not setpgrp.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 10 Nov 1994 08:12:48 +0000 |
parents | 02cd4dde69e1 |
children | 7c4393810151 |
files | src/process.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Thu Nov 10 03:46:33 1994 +0000 +++ b/src/process.c Thu Nov 10 08:12:48 1994 +0000 @@ -1403,8 +1403,12 @@ /* In order to get a controlling terminal on some versions of BSD, it is necessary to put the process in pgrp 0 before it opens the terminal. */ +#ifdef OSF1 + setpgid (0, 0); +#else setpgrp (0, 0); #endif +#endif } #endif /* TIOCNOTTY */