Этот коммит содержится в:
Lars Hjemli
2010-09-19 19:00:05 +02:00
родитель 536c7a1eb2 d187b98557
Коммит a9d6e6e695
12 изменённых файлов: 42 добавлений и 30 удалений

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