mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibCore: Don't use execvpe on Solaris
This commit is contained in:
parent
dcb95dba17
commit
72accd3a24
Notes:
sideshowbarker
2024-07-19 16:55:15 +09:00
Author: https://github.com/ghost
Commit: 72accd3a24
Pull-request: https://github.com/SerenityOS/serenity/pull/17623
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/elcuco
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -1197,7 +1197,7 @@ ErrorOr<void> exec(StringView filename, ReadonlySpan<StringView> arguments, Sear
|
|||
envp[environment->size()] = nullptr;
|
||||
|
||||
if (search_in_path == SearchInPath::Yes && !filename.contains('/')) {
|
||||
# if defined(AK_OS_MACOS) || defined(AK_OS_FREEBSD)
|
||||
# if defined(AK_OS_MACOS) || defined(AK_OS_FREEBSD) || defined(AK_OS_SOLARIS)
|
||||
// These BSDs don't support execvpe(), so we'll have to manually search the PATH.
|
||||
ScopedValueRollback errno_rollback(errno);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue