summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix/Path.inc
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-29 00:02:58 +0000
committerDan Gohman <gohman@apple.com>2009-07-29 00:02:58 +0000
commit4723c103e30e332b709bceef127e3cf0e6066064 (patch)
tree1162290d6b080394e83c7c96b67c9ceacb1d25de /llvm/lib/System/Unix/Path.inc
parent0033199c5015754e333dfd18a1b77d6f79c8cbe0 (diff)
downloadbcm5719-llvm-4723c103e30e332b709bceef127e3cf0e6066064.tar.gz
bcm5719-llvm-4723c103e30e332b709bceef127e3cf0e6066064.zip
Remove another F_OK.
llvm-svn: 77405
Diffstat (limited to 'llvm/lib/System/Unix/Path.inc')
-rw-r--r--llvm/lib/System/Unix/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Unix/Path.inc b/llvm/lib/System/Unix/Path.inc
index 27765c8b6aa..822b0366baf 100644
--- a/llvm/lib/System/Unix/Path.inc
+++ b/llvm/lib/System/Unix/Path.inc
@@ -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) {
OpenPOWER on IntegriCloud