]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: posix_spawnp: don't fallback to sh
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 19 Apr 2023 19:04:49 +0000 (21:04 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 19 Apr 2023 19:08:48 +0000 (21:08 +0200)
commitda40bd6eaf400e102fca68cbe170465a4af6d49c
treed0b0d5f57cdc02f0321a6446ee021608b214ee5e
parent3124d8b436a8130130ffe9c6a397556ff0125e66
Cygwin: posix_spawnp: don't fallback to sh

Per the discussion starting with
https://cygwin.com/pipermail/cygwin/2023-April/253495.html
stop falling back to sh if the file given to posix_spawnp
is no executable.

This is not necessarily the last word on it, given
https://www.austingroupbugs.net/view.php?id=1674, but for now,
opt for following the proposal in the Austin Group bug entry,
as well as PASSing the GNULIB test-posix_spawnp-script test.

Fixes: c7c1a1ca1b33 ("Add support for new posix_spawn function.")
Fixes: 3fbfcd11fb09 ("Cygwin: posix_spawn: add Cygwin-specific code fixing process synchronisation")
Reported-by: Bruno Haible <bruno@clisp.org>
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/release/3.5.0
winsup/cygwin/spawn.cc
This page took 0.033096 seconds and 5 git commands to generate.