From d3a7f9baf5f41a141350baa14b43c91e621f9082 Mon Sep 17 00:00:00 2001 From: Troels Thomsen Date: Wed, 3 Jan 2024 23:27:22 +0100 Subject: [PATCH] Resolve path relative to base --- src/config/Config.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/Config.zig b/src/config/Config.zig index eb63f37ca..5b816c676 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -2312,7 +2312,7 @@ pub const RepeatablePath = struct { // If it isn't absolute, we need to make it absolute relative // to the base. var buf: [std.fs.MAX_PATH_BYTES]u8 = undefined; - const abs = std.os.realpath(path, &buf) catch |err| { + const abs = dir.realpath(path, &buf) catch |err| { try errors.add(alloc, .{ .message = try std.fmt.allocPrintZ( alloc,