[libcxx-commits] [PATCH] D97619: [libcxx] Map ERROR_BAD_PATHNAME to errc::no_such_file_or_directory on windows
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Mar 5 00:49:30 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG29012ce986fc: [libcxx] Map ERROR_BAD_PATHNAME to errc::no_such_file_or_directory on windows (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97619/new/
https://reviews.llvm.org/D97619
Files:
libcxx/src/filesystem/operations.cpp
Index: libcxx/src/filesystem/operations.cpp
===================================================================
--- libcxx/src/filesystem/operations.cpp
+++ libcxx/src/filesystem/operations.cpp
@@ -412,6 +412,7 @@
{ERROR_ACCESS_DENIED, errc::permission_denied},
{ERROR_ALREADY_EXISTS, errc::file_exists},
{ERROR_BAD_NETPATH, errc::no_such_file_or_directory},
+ {ERROR_BAD_PATHNAME, errc::no_such_file_or_directory},
{ERROR_BAD_UNIT, errc::no_such_device},
{ERROR_BROKEN_PIPE, errc::broken_pipe},
{ERROR_BUFFER_OVERFLOW, errc::filename_too_long},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97619.328422.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210305/75d14dc0/attachment.bin>
More information about the libcxx-commits
mailing list