Mercurial > emacs
comparison src/process.c @ 9882:ccc5562a7194
(create_process) [OSF1]: Use setpgid, not setpgrp.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 10 Nov 1994 08:12:48 +0000 |
parents | 28267fcc61be |
children | 9daedd94a204 |
comparison
equal
deleted
inserted
replaced
9881:02cd4dde69e1 | 9882:ccc5562a7194 |
---|---|
1401 close (j); | 1401 close (j); |
1402 #ifndef USG | 1402 #ifndef USG |
1403 /* In order to get a controlling terminal on some versions | 1403 /* In order to get a controlling terminal on some versions |
1404 of BSD, it is necessary to put the process in pgrp 0 | 1404 of BSD, it is necessary to put the process in pgrp 0 |
1405 before it opens the terminal. */ | 1405 before it opens the terminal. */ |
1406 #ifdef OSF1 | |
1407 setpgid (0, 0); | |
1408 #else | |
1406 setpgrp (0, 0); | 1409 setpgrp (0, 0); |
1410 #endif | |
1407 #endif | 1411 #endif |
1408 } | 1412 } |
1409 #endif /* TIOCNOTTY */ | 1413 #endif /* TIOCNOTTY */ |
1410 | 1414 |
1411 #if !defined (RTU) && !defined (UNIPLUS) | 1415 #if !defined (RTU) && !defined (UNIPLUS) |