aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Unix
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
commit54356b976889281b890b9c0f3662aa8c87d13514 (patch)
tree41396d8e8eddbd700c0a443d172b417b94417777 /lib/System/Unix
parent85f1b3985f8cc6162aa322c93de1fd384ef93622 (diff)
downloadexternal_llvm-54356b976889281b890b9c0f3662aa8c87d13514.zip
external_llvm-54356b976889281b890b9c0f3662aa8c87d13514.tar.gz
external_llvm-54356b976889281b890b9c0f3662aa8c87d13514.tar.bz2
Remove another F_OK.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix')
-rw-r--r--lib/System/Unix/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc
index 27765c8..822b036 100644
--- a/lib/System/Unix/Path.inc
+++ b/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) {