]> granicus.if.org Git - clang/commit
[driver] Revert r180652 and 180658 and temporarily #define MAXPATHLEN to
authorChad Rosier <mcrosier@apple.com>
Sat, 27 Apr 2013 01:14:43 +0000 (01:14 +0000)
committerChad Rosier <mcrosier@apple.com>
Sat, 27 Apr 2013 01:14:43 +0000 (01:14 +0000)
commit7c993747da28138cadb40fd0b34587cf3a9be499
treeb57061906abcffc908391b83fa748bc02ef76a4d
parent1d22fa209d194c8ab676498b13ff5e25cb07d17d
[driver] Revert r180652 and 180658 and temporarily #define MAXPATHLEN to
make the gdb tests and the Windows bots happy.

The Path::GetCurrentDirectory API is not equivalent to ::getcwd(), so
r180652 causes a gdb tests to fail.  On the other hand, <sys/param.h>
isn't defined on Windows systems, so that causes Windows builds to fail.
rdar://12237559

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180661 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp