mirror of
https://git.zx2c4.com/cgit
synced 2025-08-02 17:15:13 +02:00
Merge branch 'ml/bugfix'
This commit is contained in:
commit
a9d6e6e695
12 changed files with 42 additions and 30 deletions
2
cgit.c
2
cgit.c
|
@ -610,7 +610,7 @@ static void process_cached_repolist(const char *path)
|
|||
hash = hash_str(path);
|
||||
if (ctx.cfg.project_list)
|
||||
hash += hash_str(ctx.cfg.project_list);
|
||||
cached_rc = xstrdup(fmt("%s/rc-%8x", ctx.cfg.cache_root, hash));
|
||||
cached_rc = xstrdup(fmt("%s/rc-%8lx", ctx.cfg.cache_root, hash));
|
||||
|
||||
if (stat(cached_rc, &st)) {
|
||||
/* Nothing is cached, we need to scan without forking. And
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue