From: Richard M. Stallman Date: Thu, 10 Nov 1994 08:12:48 +0000 (+0000) Subject: (create_process) [OSF1]: Use setpgid, not setpgrp. X-Git-Tag: emacs-19.34~5973 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ea1d2918f21eb9bd18c127f35838b4e978abb06;p=emacs.git (create_process) [OSF1]: Use setpgid, not setpgrp. --- diff --git a/src/process.c b/src/process.c index 7ffe74ac821..b580b11b665 100644 --- a/src/process.c +++ b/src/process.c @@ -1403,7 +1403,11 @@ create_process (process, new_argv, current_dir) /* 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 */