From 3ea1d2918f21eb9bd18c127f35838b4e978abb06 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 10 Nov 1994 08:12:48 +0000 Subject: [PATCH] (create_process) [OSF1]: Use setpgid, not setpgrp. --- src/process.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/process.c b/src/process.c index 7ffe74ac82..b580b11b66 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 */ -- 2.20.1