Merge branch 'ml/bugfix'

This commit is contained in:
Lars Hjemli
2010-09-19 19:00:05 +02:00
12 changed files with 42 additions and 30 deletions

2
cgit.c
View File

@ -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