projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0033199
)
Remove another F_OK.
author
Dan Gohman
<gohman@apple.com>
Wed, 29 Jul 2009 00:02:58 +0000
(
00:02
+0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 29 Jul 2009 00:02:58 +0000
(
00:02
+0000)
llvm-svn: 77405
llvm/lib/System/Unix/Path.inc
patch
|
blob
|
history
diff --git
a/llvm/lib/System/Unix/Path.inc
b/llvm/lib/System/Unix/Path.inc
index
27765c8
..
822b036
100644
(file)
--- 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) {