[PATCH] Avoid using the PATH_MAX constant, which may be undefined.

Sean Silva silvas at purdue.edu
Mon Mar 25 12:51:10 PDT 2013


We generally try to avoid putting platform-specific #ifdef's in the core
code, and instead prefer to keep it in libSupport. It would be great if you
pulled this code into libSupport by implementing FileSystem.h's function
`error_code canonicalize(const Twine &path, SmallVectorImpl<char>
&result);` and addressed the nearby FIXME.

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130325/e113d2a4/attachment.html>


More information about the cfe-commits mailing list