summaryrefslogtreecommitdiff
path: root/src/callproc.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-06-17 23:25:37 +0000
committerJim Blandy <jimb@redhat.com>1993-06-17 23:25:37 +0000
commit1319549a9afd3f3d449bdb849187bd025bdc5943 (patch)
tree091388992d5d873e9f76e449a77d46d1dfd70791 /src/callproc.c
parent586388410a628593a4146d87c431cecf5a62e22c (diff)
downloademacs-1319549a9afd3f3d449bdb849187bd025bdc5943.tar.gz
* 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.
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 55d97a69ac0..1436a231d72 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -519,11 +519,13 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
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