From: Richard M. Stallman Date: Sun, 24 Mar 1996 12:45:26 +0000 (+0000) Subject: (Fcall_process, child_setup): If BSD_PGRPS, call X-Git-Tag: emacs-19.34~988 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b2cd868d55e785579772a6d63ce87a844b441fb;p=emacs.git (Fcall_process, child_setup): If BSD_PGRPS, call setpgrp the BSD way even on USG. --- diff --git a/src/callproc.c b/src/callproc.c index 12e0aa0ce0b..5e8be77182b 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -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