]> git.ipfire.org Git - thirdparty/glibc.git/commit
posix: Make posix_spawn extensions available by default
authorFlorian Weimer <fweimer@redhat.com>
Fri, 4 Nov 2022 06:43:59 +0000 (07:43 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 4 Nov 2022 12:29:52 +0000 (13:29 +0100)
commit2ff48a4025515e93d722947a9eabb114f4a65b22
tree216f88e9284657abd0eec17fbc57ed985c866ebb
parentfaaf733f49211439475e50f06716b303ee2644bf
posix: Make posix_spawn extensions available by default

Some sources merely include <spawn.h> without -D_GNU_SOURCE and expect
declarations for posix_spawn_file_actions_addchdir_np to be available.
For consistency, declare posix_spawn_file_actions_addfchdir_np,
posix_spawn_file_actions_addclosefrom_np,
posix_spawn_file_actions_addtcsetpgrp_np as well.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
posix/spawn.h