--- a/src/filesystem.c Sun Nov 30 16:52:33 2025 +0100 +++ b/src/filesystem.c Wed Dec 31 17:50:20 2025 +0100 @@ -46,9 +46,9 @@ if (base.ptr[base.length - 1] == '/') base.length--; - if (cx_strprefix(path, CX_STR("./"))) { + if (cx_strprefix(path, "./")) { path = cx_strsubs(path, 2); } - return cx_strcat(3, base, CX_STR("/"), path); + return cx_strcat(CX_NULLSTR, 3, base, cx_str("/"), path); }