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(...@@ -4704,7 +4704,7 @@ fn dirCreateFileAtomic(
4704 try syscall.checkCancel();4704 try syscall.checkCancel();
4705 continue;4705 continue;
4706 },4706 },
4707 .ISDIR, .NOENT => {4707 .ISDIR, .NOENT, .OPNOTSUPP => {
4708 // Ambiguous error code. It might mean the file system4708 // Ambiguous error code. It might mean the file system
4709 // does not support O_TMPFILE. Therefore, we must fall4709 // does not support O_TMPFILE. Therefore, we must fall
4710 // back to not using O_TMPFILE.4710 // back to not using O_TMPFILE.