Fix multiple deprecated names for zig lib/std

This commit is contained in:
multifred
2024-07-22 00:06:18 +02:00
parent 76e0cf1046
commit 72c672adb7
9 changed files with 28 additions and 28 deletions

View File

@@ -394,7 +394,7 @@ pub fn expandPath(alloc: Allocator, cmd: []const u8) !?[]u8 {
};
defer if (builtin.os.tag == .windows) alloc.free(PATH);
var path_buf: [std.fs.MAX_PATH_BYTES]u8 = undefined;
var path_buf: [std.fs.max_path_bytes]u8 = undefined;
var it = std.mem.tokenizeScalar(u8, PATH, std.fs.path.delimiter);
var seen_eacces = false;
while (it.next()) |search_path| {