Commit 6b2cd868 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fcall_process, child_setup): If BSD_PGRPS, call

setpgrp the BSD way even on USG.
parent 3743c30c
......@@ -443,7 +443,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
{
if (fd[0] >= 0)
close (fd[0]);
#ifdef USG
#if defined(USG) && !defined(BSD_PGRPS)
setpgrp ();
#else
setpgrp (pid, pid);
......@@ -848,7 +848,7 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment