Remove another F_OK.
authorDan Gohman <gohman@apple.com>
Wed, 29 Jul 2009 00:02:58 +0000 (00:02 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 29 Jul 2009 00:02:58 +0000 (00:02 +0000)
llvm-svn: 77405

llvm/lib/System/Unix/Path.inc

index 27765c8..822b036 100644 (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) {