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:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user