diff src/callproc.c @ 3814:52d398035be7

* m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd. We are now calling the BSD[sg]etpgrp functions directly, so this library is not needed; it just provides the BSD[sg]etpgrp functions under the [sg]etpgrp names. * callproc.c [IRIX] (child_setup): Don't call setpgrp this time. It's already been called up in Fcall_process, and create_process.
author Jim Blandy <jimb@redhat.com>
date Thu, 17 Jun 1993 23:25:37 +0000
parents 87d9ef5f831b
children 647bef18618f
line wrap: on
line diff
--- a/src/callproc.c	Thu Jun 17 22:59:49 1993 +0000
+++ b/src/callproc.c	Thu Jun 17 23:25:37 1993 +0000
@@ -519,11 +519,13 @@
   close (out);
   close (err);
 
-#if defined (USG) && !defined (IRIX)
+#if !defined (IRIX)
+#if defined (USG)
   setpgrp ();			/* No arguments but equivalent in this case */
 #else
   setpgrp (pid, pid);
 #endif /* USG */
+#endif /* IRIX */
   setpgrp_of_tty (pid);
 
 #ifdef vipc