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

This commit is contained in:
eshom
2026-03-18 22:36:57 +02:00
committed by Andrew Kelley
parent 83c7aba127
commit 5119cf6ffd
+1 -1
View File
@@ -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.