]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 b33b72019139f6169292ce9bb53f88ae1f33b997..bb68c2b0a1e745fa9dd0df34d721db5af7ecb3ce 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);