diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2020-06-04 15:59:48 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-06-04 22:52:53 -0400 |
| commit | 95a5f6bf2dd822d4a67bef0fda3074dabea2d8c2 (patch) | |
| tree | ba36dd6774dfa6194626b8204e7d76f845dffabb /src/os.cpp | |
| parent | f7b6957fb4e6c70e6917abf519943f3f5d3e5660 (diff) | |
| download | zig-95a5f6bf2dd822d4a67bef0fda3074dabea2d8c2.tar.gz zig-95a5f6bf2dd822d4a67bef0fda3074dabea2d8c2.zip | |
Windows: Handle ERROR_DIRECTORY in std.fs.deleteDirAbsolute when called on a file path
ERROR_DIRECTORY (267) is returned from kernel32.RemoveDirectoryW if the path is not a directory. Note also that os.DirectDirError already includes NotDir
Before: error.Unexpected: GetLastError(267): The directory name is invalid.
After: error: NotDir
Diffstat (limited to 'src/os.cpp')
0 files changed, 0 insertions, 0 deletions
