mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Userland: Consolidate most PATH resolving into a single implementation
We previously had at least three different implementations for resolving executables in the PATH, all of which had slightly different characteristics. Merge those into a single implementation to keep the behaviour consistent, and maybe to make that implementation more configurable in the future.
This commit is contained in:
committed by
Linus Groh
parent
39a3775f48
commit
5f99934dce
Notes:
sideshowbarker
2024-07-17 07:52:20 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/5f99934dce Pull-request: https://github.com/SerenityOS/serenity/pull/14941 Reviewed-by: https://github.com/linusg
@@ -161,7 +161,6 @@ ErrorOr<Array<int, 2>> pipe2(int flags);
|
||||
#ifndef AK_OS_ANDROID
|
||||
ErrorOr<void> adjtime(const struct timeval* delta, struct timeval* old_delta);
|
||||
#endif
|
||||
ErrorOr<String> find_file_in_path(StringView filename);
|
||||
enum class SearchInPath {
|
||||
No,
|
||||
Yes,
|
||||
|
||||
Reference in New Issue
Block a user