aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2024-04-29 02:59:52 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-06-13 10:50:46 -0400
commit8e155959ca95abbc243e276fa8596964f2fed3b2 (patch)
treec61b2f0dda8c011275beed00b1ff0a80589091f6 /test/cases/compile_errors
parent45c77931c2f292574c0049cab574b0208914b9b9 (diff)
downloadzig-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 'test/cases/compile_errors')
0 files changed, 0 insertions, 0 deletions