projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/graph_list.c: cachefile → cache_file
[collection4.git]
/
src
/
graph_list.c
diff --git
a/src/graph_list.c
b/src/graph_list.c
index
1614307
..
b979672
100644
(file)
--- a/
src/graph_list.c
+++ b/
src/graph_list.c
@@
-268,7
+268,7
@@
static int gl_update_cache (void) /* {{{ */
int fd;
yajl_gen handler;
yajl_gen_config handler_config = { /* pretty = */ 1, /* indent = */ " " };
int fd;
yajl_gen handler;
yajl_gen_config handler_config = { /* pretty = */ 1, /* indent = */ " " };
- const char *cache_file = graph_config_get_cachefile ();
+ const char *cache_file = graph_config_get_cache
_
file ();
struct flock lock;
struct stat statbuf;
int status;
struct flock lock;
struct stat statbuf;
int status;
@@
-620,7
+620,7
@@
static int gl_read_cache (_Bool block) /* {{{ */
int status;
time_t now;
int status;
time_t now;
- fd = open (graph_config_get_cachefile (), O_RDONLY);
+ fd = open (graph_config_get_cache
_
file (), O_RDONLY);
if (fd < 0)
{
fprintf (stderr, "gl_read_cache: open(2) failed with status %i\n", errno);
if (fd < 0)
{
fprintf (stderr, "gl_read_cache: open(2) failed with status %i\n", errno);