From ab37bd0b0c0da340222f8420ec2ee6ccdd13ce24 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Tue, 14 Jul 2009 11:55:08 +0300 Subject: db: speed up fdb creation avoid recalculating hashes, and store the lengths of names, so we can optimize some operations. --- src/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/info.c') diff --git a/src/info.c b/src/info.c index 4be29dc..7a50a67 100644 --- a/src/info.c +++ b/src/info.c @@ -190,7 +190,7 @@ static void info_print_contents(struct apk_package *pkg) diri_files_list) { if (apk_verbosity > 1) printf("%s: ", pkg->name->name); - printf("%s/%s\n", diri->dir->dirname, file->filename); + printf("%s/%s\n", diri->dir->name, file->name); } } } -- cgit v1.2.3-60-g2f50