[test-suite] tools/timeit: Use setpgid() instead of the deprecated setpgrp().
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@153042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
26bd34b55d
Коммит
23c535cb54
|
@ -244,7 +244,7 @@ static int execute_target_process(char * const argv[]) {
|
|||
* do this, because later on we might want to kill pid _and_ all processes
|
||||
* spawned by it and its descendants.
|
||||
*/
|
||||
setpgrp();
|
||||
setpgid(0, 0);
|
||||
|
||||
/* Redirect the standard input, if requested. */
|
||||
if (g_target_redirect_input) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче