zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit d345a10054caa78d6e697089b0b3ca5b540b2d9c (tree)
parent 81b0c9991573bc5e507048ad19f222b79b24fa49
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Tue,  8 Jul 2025 16:53:02 -0700

std.os.freebsd.copy_file_range: add missing error.Unexpected

Diffstat:
Mlib/std/os/freebsd.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/os/freebsd.zig b/lib/std/os/freebsd.zig @@ -4,7 +4,7 @@ const off_t = std.c.off_t; const unexpectedErrno = std.posix.unexpectedErrno; const errno = std.posix.errno; -pub const CopyFileRangeError = error{ +pub const CopyFileRangeError = std.posix.UnexpectedError || error{ /// If infd is not open for reading or outfd is not open for writing, or /// opened for writing with O_APPEND, or if infd and outfd refer to the /// same file.