Remove another F_OK.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77405 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-07-29 00:02:58 +00:00
parent 0e2771f4c4
commit 28daa10246

View File

@ -636,7 +636,7 @@ Path::eraseSuffix() {
static bool createDirectoryHelper(char* beg, char* end, bool create_parents) {
if (access(beg, F_OK | R_OK | W_OK) == 0)
if (access(beg, R_OK | W_OK) == 0)
return false;
if (create_parents) {