[libcxx-commits] [PATCH] D91172: [17/N] [libcxx] Implement the read_symlink function for windows

Saleem Abdulrasool via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 10 08:47:33 PST 2020


compnerd added inline comments.


================
Comment at: libcxx/src/filesystem/operations.cpp:1423
+  detail::WinHandle h(p.c_str(), FILE_READ_ATTRIBUTES,
+                      FILE_FLAG_OPEN_REPARSE_POINT);
+  if (!h)
----------------
You should use backup semantics here to ensure that directories can be read.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91172/new/

https://reviews.llvm.org/D91172



More information about the libcxx-commits mailing list