Remove another F_OK.

llvm-svn: 77405
This commit is contained in:
Dan Gohman 2009-07-29 00:02:58 +00:00
parent a364079155
commit 454f9dc117

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) {