From 4723c103e30e332b709bceef127e3cf0e6066064 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 29 Jul 2009 00:02:58 +0000 Subject: Remove another F_OK. llvm-svn: 77405 --- llvm/lib/System/Unix/Path.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/System/Unix/Path.inc') 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) { -- cgit v1.2.3