projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a1b3b5
)
-only test for exist, not for read
author
Christian Grothoff
<christian@grothoff.org>
Sat, 14 Jul 2012 23:14:09 +0000
(23:14 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 14 Jul 2012 23:14:09 +0000
(23:14 +0000)
src/util/disk.c
patch
|
blob
|
history
diff --git
a/src/util/disk.c
b/src/util/disk.c
index d805c1e42ca0033c71660fc378ac2523b3128820..941546a5d867ad414a174d0515fb699f57955d0e 100644
(file)
--- a/
src/util/disk.c
+++ b/
src/util/disk.c
@@
-660,7
+660,7
@@
GNUNET_DISK_file_test (const char *fil)
GNUNET_free (rdir);
return GNUNET_NO;
}
- if (ACCESS (rdir,
R
_OK) < 0)
+ if (ACCESS (rdir,
F
_OK) < 0)
{
LOG_STRERROR_FILE (GNUNET_ERROR_TYPE_WARNING, "access", rdir);
GNUNET_free (rdir);