mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
Libraries: Convert DeprecatedFile
usages to LibFileSystem
This commit is contained in:
parent
1dc3ba6ed5
commit
c048cf2004
9 changed files with 51 additions and 33 deletions
|
@ -9,7 +9,7 @@
|
|||
#include <AK/ScopedValueRollback.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <Kernel/API/Unveil.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibFileSystem/FileSystem.h>
|
||||
#include <alloca.h>
|
||||
#include <assert.h>
|
||||
#include <bits/pthread_cancel.h>
|
||||
|
@ -189,7 +189,7 @@ int execvpe(char const* filename, char* const argv[], char* const envp[])
|
|||
|
||||
ScopedValueRollback errno_rollback(errno);
|
||||
|
||||
// TODO: Make this use the PATH search implementation from Core::DeprecatedFile.
|
||||
// TODO: Make this use the PATH search implementation from LibFileSystem.
|
||||
DeprecatedString path = getenv("PATH");
|
||||
if (path.is_empty())
|
||||
path = DEFAULT_PATH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue