diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-14 11:55:08 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-14 11:55:08 +0300 |
commit | ab37bd0b0c0da340222f8420ec2ee6ccdd13ce24 (patch) | |
tree | 8afbdc279ebeca5fc735b89024aa3c7b5f92b4ed /src/info.c | |
parent | e00f5ea74a448c1148725794d89a4149b98fdb11 (diff) | |
download | apk-tools-ab37bd0b0c0da340222f8420ec2ee6ccdd13ce24.tar.gz apk-tools-ab37bd0b0c0da340222f8420ec2ee6ccdd13ce24.tar.bz2 apk-tools-ab37bd0b0c0da340222f8420ec2ee6ccdd13ce24.tar.xz apk-tools-ab37bd0b0c0da340222f8420ec2ee6ccdd13ce24.zip |
db: speed up fdb creation
avoid recalculating hashes, and store the lengths of names, so
we can optimize some operations.
Diffstat (limited to 'src/info.c')
-rw-r--r-- | src/info.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } } |