diff -r 07b815faa6ac -r f00d03835dd9 src/server/test/vfs.c --- a/src/server/test/vfs.c Tue Dec 30 21:44:49 2025 +0100 +++ b/src/server/test/vfs.c Tue Jan 13 18:09:20 2026 +0100 @@ -79,7 +79,7 @@ TestVFS *vfs = dir->ctx->vfs->instance; TestVFSDir *vfsdir = (TestVFSDir*)dir; - cxmutstr prefix = cx_strcat(2, vfsdir->file->path, cx_str("/")); + cxmutstr prefix = cx_strcat(CX_NULLSTR, 2, vfsdir->file->path, cx_str("/")); // not the most efficient file system implementation ever, but it is only // for testing @@ -89,6 +89,7 @@ cx_foreach(TestVFSFile *, entry, vfsdir->i) { if(file) break; cxmutstr file_path = cx_strcat( + CX_NULLSTR, 2, prefix, cx_str(test_resource_name(entry->path.ptr))); @@ -193,7 +194,7 @@ file->path = cx_strdup_a(pool_allocator(ctx->sn->pool), s_path); file->file.io = &test_file_io; - cxBufferInit(&file->content, pool_malloc(ctx->sn->pool, 2048), 2048, pool_allocator(ctx->sn->pool), 0); + cxBufferInit(&file->content, pool_allocator(ctx->sn->pool), pool_malloc(ctx->sn->pool, 2048), 2048, 0); cxMapPut(vfs->files, cx_hash_key((void*)s_path.ptr, s_path.length), file); } else {