add a new boot mode to RADLINK for launching as a type server

checkpoint
This commit is contained in:
Nikita Smith committed 2026-06-12 11:40:01 -07:00
1 parent 2c4882595c
commit 3452f23839
6 files changed
+946 -206

No files matched your search

+2 -2
View File
@@ -12,7 +12,7 @@ lnk_arg_list_parse_windows_rules(Arena *arena, String8 string)
U8 *opl = string.str + string.size;
while (ptr < opl) {
// skip white space and new lines
for (;;) {
while(ptr < opl) {
U64 size = (U64)(opl - ptr);
UnicodeDecode uni = utf8_decode(ptr, size);
if (uni.codepoint != ' ' && uni.codepoint != '\n' && uni.codepoint != '\r') {
@@ -21,7 +21,7 @@ lnk_arg_list_parse_windows_rules(Arena *arena, String8 string)
ptr += uni.inc;
}
if (*ptr == '\0') {
if (ptr >= opl || *ptr == '\0') {
break;
}