[PATCH] D86564: [Support][Windows] Fix incorrect GetFinalPathNameByHandleW() return value check in realPathFromHandle()
Andrew Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 06:01:09 PDT 2020
andrewng added inline comments.
================
Comment at: llvm/lib/Support/Windows/Path.inc:356
+ H, Buffer.begin(), Buffer.capacity(), FILE_NAME_NORMALIZED);
+ if (CountChars >= Buffer.capacity()) {
// The buffer wasn't big enough, try again. In this case the return value
----------------
Perhaps this would be better still?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86564/new/
https://reviews.llvm.org/D86564
More information about the llvm-commits
mailing list