clean up and standardize types across the codebase, unify atomic operations, improve UTF-8 handling throughout the system, remove obsolete input and named queue interfaces, redesign process preparation and creation, tighten IPC and service boundaries, improve error handling and reliability, minor documentation cleanup, fix doom surfaces, fix panic in ini parsing.
This commit is contained in:
1 parent
899225f551
commit
c0ad63c27f
226 files changed
+6562
-4147
No files matched your search
@@ -16,7 +16,7 @@ static void exit_now(int code) {
|
||||
while (true) SysExitProcess(code);
|
||||
}
|
||||
|
||||
static void fail_status(const char* what, uint32_t status) {
|
||||
static void fail_status(const char* what, KSTATUS status) {
|
||||
(void)status;
|
||||
print("realpath_smoke: "); print(what); print("\n");
|
||||
exit_now(1);
|
||||
@@ -30,7 +30,7 @@ static void fail(const char* what) {
|
||||
static void expect_realpath(const char* input, const char* expected) {
|
||||
char out[SYS_PATH_MAX + 1u];
|
||||
size_t required = 0;
|
||||
uint32_t status = NtlRealPath(SysSvFromCstr(input), out, sizeof(out), &required);
|
||||
KSTATUS status = NtlRealPath(SysSvFromCstr(input), out, sizeof(out), &required);
|
||||
if (status != NTLSTATUS_SUCCESS) fail_status("realpath", status);
|
||||
if (required != strlen(expected) + 1u) fail("required size mismatch");
|
||||
if (strcmp(out, expected) != 0) fail("resolved path mismatch");
|
||||
@@ -43,7 +43,7 @@ int main(void) {
|
||||
|
||||
char cwd[SYS_PATH_MAX + 1u];
|
||||
size_t cwdRequired = 0;
|
||||
uint32_t status = NtlGetCurrentDirectory(cwd, sizeof(cwd), &cwdRequired);
|
||||
KSTATUS status = NtlGetCurrentDirectory(cwd, sizeof(cwd), &cwdRequired);
|
||||
if (status != NTLSTATUS_SUCCESS) fail_status("get cwd", status);
|
||||
|
||||
char expected[SYS_PATH_MAX + 1u];
|
||||
|
||||
Reference in new issue
Block a user