cleanup: remove dead code in Api/Process.hpp, remove redundant logtest program
This commit is contained in:
1 parent
39a56153b4
commit
f6be9e2563
3 files changed
+1
-18
No files matched your search
@@ -230,15 +230,6 @@ namespace montauk::abi {
|
||||
char resolved[256];
|
||||
if (!ResolveProcessPath(path, resolved, sizeof(resolved))) return -1;
|
||||
|
||||
bool isDriveRoot = false;
|
||||
{
|
||||
int prefixLen = 0;
|
||||
if (ParseDrivePrefix(resolved, &prefixLen) >= 0 &&
|
||||
resolved[prefixLen] == '/' && resolved[prefixLen + 1] == '\0') {
|
||||
isDriveRoot = true;
|
||||
}
|
||||
}
|
||||
|
||||
// ReadDir doubles as the directory-existence probe: it fails
|
||||
// for nonexistent paths and for regular files (directories are
|
||||
// not openable as files anymore, so the old open-based check
|
||||
|
||||
Reference in new issue
Block a user