authorgravatar for michael@pfaff.devMichael Pfaff <michael@pfaff.dev> 2025-04-25 22:34:05-04:00
committergravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2025-10-08 17:07:38-07:00
logeb46bbba34c1ccb0fbbbd755fd190e1b6eb939ec
tree8446f6fde599f1098c4a47d4516a0b22cb53e13f
parenta7dfc6470f0cb73c53f11590cf89d6348a81030e

Fix realpathW out_buffer size


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/posix.zig+1-1
......@@ -5747,7 +5747,7 @@ pub fn realpathZ(pathname: [*:0]const u8, out_buffer: *[max_path_bytes]u8) RealP
57475747/// The result is encoded as WTF16LE.
57485748///
57495749/// Calling this function is usually a bug.
5750pub fn realpathW(pathname: []const u16, out_buffer: *[max_path_bytes]u16) RealPathError![]u16 {
5750pub fn realpathW(pathname: []const u16, out_buffer: *[std.os.windows.PATH_MAX_WIDE]u16) RealPathError![]u16 {
57515751 return fs.cwd().realpathW(pathname, out_buffer);
57525752}
57535753