ioeric added inline comments.
================ Comment at: lib/Basic/FileManager.cpp:537 -#ifdef LLVM_ON_UNIX - char CanonicalNameBuf[PATH_MAX]; - if (realpath(Dir->getName().str().c_str(), CanonicalNameBuf)) + SmallString<PATH_MAX> CanonicalNameBuf; + if (!FS->getRealPath(Dir->getName(), CanonicalNameBuf)) ---------------- bkramer wrote: > PATH_MAX is not a standard thing and probably not there on windows. I'd just > hardcode it to 256. PATH_MAX on unit is 4096. Let's go with 4096. Repository: rC Clang https://reviews.llvm.org/D46942 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits