From 99c1aeca5e1b6296a2c604fb085562bdf393f1ba Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 4 Sep 1996 16:27:55 +0000 Subject: [PATCH] (create_process): Test HAVE_SETPGID for using setpgid. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index b33b7201913..bb68c2b0a1e 100644 --- a/src/process.c +++ b/src/process.c @@ -1437,7 +1437,7 @@ 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 +#ifdef HAVE_SETPGID setpgid (0, 0); #else setpgrp (0, 0); -- 2.39.2