Commit 99c1aeca authored by Richard M. Stallman's avatar Richard M. Stallman

(create_process): Test HAVE_SETPGID for using setpgid.

parent d9c1c409
......@@ -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);
......
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