mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
posix: New function posix_spawn_file_actions_addfchdir_np [BZ #17405]
Along with posix_spawn_file_actions_addchdir, posix_spawn_file_actions_addfchdir is the subject of a change proposal for POSIX: <http://austingroupbugs.net/view.php?id=1208>
This commit is contained in:
@ -263,6 +263,11 @@ __spawni_child (void *arguments)
|
||||
if (__chdir (action->action.chdir_action.path) != 0)
|
||||
goto fail;
|
||||
break;
|
||||
|
||||
case spawn_do_fchdir:
|
||||
if (__fchdir (action->action.fchdir_action.fd) != 0)
|
||||
goto fail;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user