commit 5119cf6ffd0cf92586bc26f3f2d6e1e623fd17a8 (tree)
parent 83c7aba12780333a832148684d055698a2914463
Author: eshom <eshom@noreply.codeberg.org>
Date: Wed, 18 Mar 2026 22:36:57 +0200
std.Io.Threaded: syscall with O_TMPFILE flag can return OPNOTSUPP
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/Io/Threaded.zig b/lib/std/Io/Threaded.zig
@@ -4704,7 +4704,7 @@ fn dirCreateFileAtomic(
try syscall.checkCancel();
continue;
},
- .ISDIR, .NOENT => {
+ .ISDIR, .NOENT, .OPNOTSUPP => {
// Ambiguous error code. It might mean the file system
// does not support O_TMPFILE. Therefore, we must fall
// back to not using O_TMPFILE.