comparison src/process.c @ 16127:8d6d35b486c0

(create_process): Test HAVE_SETPGID for using setpgid.
author Richard M. Stallman <rms@gnu.org>
date Wed, 04 Sep 1996 16:27:55 +0000
parents 80a67b8f39e9
children 4aba36944749
comparison
equal deleted inserted replaced
16126:b14d5c46889a 16127:8d6d35b486c0
1435 close (j); 1435 close (j);
1436 #ifndef USG 1436 #ifndef USG
1437 /* In order to get a controlling terminal on some versions 1437 /* In order to get a controlling terminal on some versions
1438 of BSD, it is necessary to put the process in pgrp 0 1438 of BSD, it is necessary to put the process in pgrp 0
1439 before it opens the terminal. */ 1439 before it opens the terminal. */
1440 #ifdef OSF1 1440 #ifdef HAVE_SETPGID
1441 setpgid (0, 0); 1441 setpgid (0, 0);
1442 #else 1442 #else
1443 setpgrp (0, 0); 1443 setpgrp (0, 0);
1444 #endif 1444 #endif
1445 #endif 1445 #endif