mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 04:24:33 +01:00
Fix realpathW out_buffer size
This commit is contained in:
parent
a7dfc6470f
commit
eb46bbba34
1 changed files with 1 additions and 1 deletions
|
|
@ -5747,7 +5747,7 @@ pub fn realpathZ(pathname: [*:0]const u8, out_buffer: *[max_path_bytes]u8) RealP
|
|||
/// The result is encoded as WTF16LE.
|
||||
///
|
||||
/// Calling this function is usually a bug.
|
||||
pub fn realpathW(pathname: []const u16, out_buffer: *[max_path_bytes]u16) RealPathError![]u16 {
|
||||
pub fn realpathW(pathname: []const u16, out_buffer: *[std.os.windows.PATH_MAX_WIDE]u16) RealPathError![]u16 {
|
||||
return fs.cwd().realpathW(pathname, out_buffer);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue