From: Dan Gohman Date: Wed, 29 Jul 2009 00:02:58 +0000 (+0000) Subject: Remove another F_OK. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=28daa1024666ec9f17f11c8cca8aa22a6429b57f;p=oota-llvm.git Remove another F_OK. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77405 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc index 27765c8b6aa..822b0366baf 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) {