diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2024-04-29 02:59:52 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-06-13 10:50:46 -0400 |
| commit | 8e155959ca95abbc243e276fa8596964f2fed3b2 (patch) | |
| tree | c61b2f0dda8c011275beed00b1ff0a80589091f6 /src/codegen/spirv.zig | |
| parent | 45c77931c2f292574c0049cab574b0208914b9b9 (diff) | |
| download | zig-8e155959ca95abbc243e276fa8596964f2fed3b2.tar.gz zig-8e155959ca95abbc243e276fa8596964f2fed3b2.zip | |
posix.renameW: Handle DIRECTORY_NOT_EMPTY more generally
Before this commit, the DIRECTORY_NOT_EMPTY/FILE_IS_A_DIRECTORY/NOT_A_DIRECTORY statuses were assumed only to be possible when using `FILE_RENAME_INFORMATION_EX` and `FILE_RENAME_POSIX_SEMANTICS`, but that has empirically been shown to be false; a networked samba share can return the DIRECTORY_NOT_EMPTY status from `FILE_RENAME_INFORMATION` (which doesn't support `FILE_RENAME_POSIX_SEMANTICS`).
`FILE_IS_A_DIRECTORY` and `NOT_A_DIRECTORY` were not proven to be possible, but they were also moved to the outer switch just in case.
Fixes #19785
Diffstat (limited to 'src/codegen/spirv.zig')
0 files changed, 0 insertions, 0 deletions
