diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-06-08 14:18:46 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-06-08 14:30:07 -0400 |
commit | 8c130ca0117fd225c24569be2ec16c7dc2150a13 (patch) | |
tree | 56c682289d2393a4567d42d0effa31f564dc4b07 /build/has/extattr-get-link.c | |
parent | 354c0adcf7edea2d036e35681610fc693a6796c0 (diff) | |
download | bfs-8c130ca0117fd225c24569be2ec16c7dc2150a13.tar.xz |
xspawn: Check X_OK even without $PATH resolution
Not all posix_spawn() implementations use errno to report execv()
failures from the child process, as that requires either a kernel
posix_spawn() implementation or a pipe to pass the error back.
This should fix tests/posix/exec_nonexistent on OpenBSD and HPPA.
Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=hppa&ver=3.3.1-1&stamp=1717489148&raw=0
Diffstat (limited to 'build/has/extattr-get-link.c')
0 files changed, 0 insertions, 0 deletions