Merge branch 'ml/bugfix'

Este commit está contenido en:
Lars Hjemli
2010-09-19 19:00:05 +02:00
Se han modificado 12 ficheros con 42 adiciones y 30 borrados

2
cgit.c
Ver fichero

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