(create_process): Test HAVE_SETPGID for using setpgid.
authorRichard M. Stallman <rms@gnu.org>
Wed, 4 Sep 1996 16:27:55 +0000 (16:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 4 Sep 1996 16:27:55 +0000 (16:27 +0000)
src/process.c

index b33b720..bb68c2b 100644 (file)
@@ -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);