Mercurial > emacs
diff src/callproc.c @ 579:e2782df984a2
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 14 Mar 1992 20:43:29 +0000 |
parents | 3bf63e2cf890 |
children | 1d71babec025 |
line wrap: on
line diff
--- a/src/callproc.c Sat Mar 14 20:40:04 1992 +0000 +++ b/src/callproc.c Sat Mar 14 20:43:29 1992 +0000 @@ -1,5 +1,5 @@ /* Synchronous subprocess invocation for GNU Emacs. - Copyright (C) 1985, 1986, 1987, 1988 Free Software Foundation, Inc. + Copyright (C) 1985, 1986, 1987, 1988, 1992 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -382,7 +382,6 @@ If using vfork and C_ALLOCA it is safe because that changes the superior's static variables as if the superior had done alloca and will be cleaned up in the usual way. */ - { register unsigned char *temp; register int i; @@ -438,6 +437,11 @@ close (out); close (err); +#ifdef USG + setpgrp (); /* No arguments but equivalent in this case */ +#else + setpgrp (pid, pid); +#endif /* USG */ setpgrp_of_tty (pid); #ifdef vipc