HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3743c30
)
(Fcall_process, child_setup): If BSD_PGRPS, call
author
Richard M. Stallman
<rms@gnu.org>
Sun, 24 Mar 1996 12:45:26 +0000
(12:45 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 24 Mar 1996 12:45:26 +0000
(12:45 +0000)
setpgrp the BSD way even on USG.
src/callproc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index
12e0aa0
..
5e8be77
100644
(file)
--- 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]);
-#if
def 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 */
-#if
def USG
+#if
defined(USG) && !defined(BSD_PGRPS)
#ifndef SETPGRP_RELEASES_CTTY
setpgrp (); /* No arguments but equivalent in this case */
#endif