changeset 14872:c001b28bf068

(Fcall_process, child_setup): If BSD_PGRPS, call setpgrp the BSD way even on USG.
author Richard M. Stallman <rms@gnu.org>
date Sun, 24 Mar 1996 12:45:26 +0000
parents cb986696ec03
children 7828db42c2c4
files src/callproc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Sun Mar 24 12:32:57 1996 +0000
+++ b/src/callproc.c	Sun Mar 24 12:45:26 1996 +0000
@@ -443,7 +443,7 @@
       {
 	if (fd[0] >= 0)
 	  close (fd[0]);
-#ifdef USG
+#if defined(USG) && !defined(BSD_PGRPS)
         setpgrp ();
 #else
         setpgrp (pid, pid);
@@ -848,7 +848,7 @@
   close (err);
 #endif /* not WINDOWSNT */
 
-#ifdef USG
+#if defined(USG) && !defined(BSD_PGRPS)
 #ifndef SETPGRP_RELEASES_CTTY
   setpgrp ();			/* No arguments but equivalent in this case */
 #endif