# HG changeset patch # User Richard M. Stallman # Date 827671526 0 # Node ID c001b28bf068a19f9d60d7f105a40bfeb5e476c3 # Parent cb986696ec031f28a17508b9da2020f84d838997 (Fcall_process, child_setup): If BSD_PGRPS, call setpgrp the BSD way even on USG. diff -r cb986696ec03 -r c001b28bf068 src/callproc.c --- 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