[llvm-commits] [llvm] r77405 - /llvm/trunk/lib/System/Unix/Path.inc
Dan Gohman
gohman at apple.com
Tue Jul 28 17:02:58 PDT 2009
Author: djg
Date: Tue Jul 28 19:02:58 2009
New Revision: 77405
URL: http://llvm.org/viewvc/llvm-project?rev=77405&view=rev
Log:
Remove another F_OK.
Modified:
llvm/trunk/lib/System/Unix/Path.inc
Modified: llvm/trunk/lib/System/Unix/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Unix/Path.inc?rev=77405&r1=77404&r2=77405&view=diff
==============================================================================
--- llvm/trunk/lib/System/Unix/Path.inc (original)
+++ llvm/trunk/lib/System/Unix/Path.inc Tue Jul 28 19:02:58 2009
@@ -636,7 +636,7 @@
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) {
More information about the llvm-commits
mailing list