[PATCH] D46518: LLDB - Simplify GetProgramFileSpec

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 7 10:03:35 PDT 2018


devnexen added a comment.

In https://reviews.llvm.org/D46518#1089917, @zturner wrote:

> I think the new version may actually be wrong.  Shouldn't it be `PATH_MAX+1`?  That said, what's the motivation for changing this?


I actually think PATH_MAX/MAXPATHLEN is correct. Otherwise it s just simplifying it.


Repository:
  rL LLVM

https://reviews.llvm.org/D46518





More information about the llvm-commits mailing list