mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03: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: https://github.com/SerenityOS/serenity/commit/72accd3a248 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
@ -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…
Reference in New Issue
Block a user