authorgravatar for eshom@noreply.codeberg.orgeshom <eshom@noreply.codeberg.org> 2026-03-18 22:36:57+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-03-20 12:12:29-07:00
log5119cf6ffd0cf92586bc26f3f2d6e1e623fd17a8
tree0824fd942d8a6344a50dc57bca874baae190e3e3
parent83c7aba12780333a832148684d055698a2914463

std.Io.Threaded: syscall with O_TMPFILE flag can return OPNOTSUPP


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

lib/std/Io/Threaded.zig+1-1
......@@ -4704,7 +4704,7 @@ fn dirCreateFileAtomic(
47044704 try syscall.checkCancel();
47054705 continue;
47064706 },
4707 .ISDIR, .NOENT => {
4707 .ISDIR, .NOENT, .OPNOTSUPP => {
47084708 // Ambiguous error code. It might mean the file system
47094709 // does not support O_TMPFILE. Therefore, we must fall
47104710 // back to not using O_TMPFILE.