Commit 3ea1d291 authored by Richard M. Stallman's avatar Richard M. Stallman

(create_process) [OSF1]: Use setpgid, not setpgrp.

parent 71edead1
......@@ -1403,7 +1403,11 @@ 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
setpgid (0, 0);
#else
setpgrp (0, 0);
#endif
#endif
}
#endif /* TIOCNOTTY */
......
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