mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
std.Io.Threaded: syscall with O_TMPFILE flag can return OPNOTSUPP
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user