projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e2771f
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77405
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Unix/Path.inc
patch
|
blob
|
history
diff --git
a/lib/System/Unix/Path.inc
b/lib/System/Unix/Path.inc
index 27765c8b6aae650f7b547342df77bf0b7567edb6..822b0366baf06e36cfd10e06335eef441066a6d2 100644
(file)
--- 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) {