cleanup: remove dead code in Api/Process.hpp, remove redundant logtest program

This commit is contained in:
2026-08-14 19:14:49 +02:00
parent 39a56153b4
commit f6be9e2563
3 changed files with 1 additions and 18 deletions
+1 -1
View File
@@ -12,4 +12,4 @@
#pragma once #pragma once
#define MONTAUK_BUILD_NUMBER 142 #define MONTAUK_BUILD_NUMBER 143
-9
View File
@@ -230,15 +230,6 @@ namespace montauk::abi {
char resolved[256]; char resolved[256];
if (!ResolveProcessPath(path, resolved, sizeof(resolved))) return -1; 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 // ReadDir doubles as the directory-existence probe: it fails
// for nonexistent paths and for regular files (directories are // for nonexistent paths and for regular files (directories are
// not openable as files anymore, so the old open-based check // not openable as files anymore, so the old open-based check
-8
View File
@@ -1,8 +0,0 @@
#include <montauk/syscall.h>
extern "C" void _start() {
montauk::write_log("testapp", "hello, logging world!");
montauk::exit(0);
}