1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

posix: New function posix_spawn_file_actions_addchdir_np [BZ #17405]

This commit is contained in:
Florian Weimer
2018-11-06 16:08:12 +01:00
parent 7597b0c7f7
commit 4a938cb273
38 changed files with 377 additions and 2 deletions

View File

@ -258,6 +258,11 @@ __spawni_child (void *arguments)
!= action->action.dup2_action.newfd)
goto fail;
break;
case spawn_do_chdir:
if (__chdir (action->action.chdir_action.path) != 0)
goto fail;
break;
}
}
}