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:
d9c1c40
)
(create_process): Test HAVE_SETPGID for using setpgid.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 4 Sep 1996 16:27:55 +0000
(16:27 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 4 Sep 1996 16:27:55 +0000
(16:27 +0000)
src/process.c
patch
|
blob
|
blame
|
history
diff --git
a/src/process.c
b/src/process.c
index
b33b720
..
bb68c2b
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-1437,7
+1437,7
@@
create_process (process, new_argv, current_dir)
/* In order to get a controlling terminal on some versions
of BSD, it is necessary to put the process in pgrp 0
before it opens the terminal. */
-#ifdef
OSF1
+#ifdef
HAVE_SETPGID
setpgid (0, 0);
#else
setpgrp (0, 0);