changeset 16127:8d6d35b486c0

(create_process): Test HAVE_SETPGID for using setpgid.
author Richard M. Stallman <rms@gnu.org>
date Wed, 04 Sep 1996 16:27:55 +0000
parents b14d5c46889a
children 7af77f490166
files src/process.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Wed Sep 04 16:23:50 1996 +0000
+++ b/src/process.c	Wed Sep 04 16:27:55 1996 +0000
@@ -1437,7 +1437,7 @@
 	    /* 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);