From 76a0be7e28f5d4e74b79b61dfe911e2f5d0514ce Mon Sep 17 00:00:00 2001 From: James Bowes Date: Mon, 23 Jun 2008 19:58:13 -0400 Subject: [PATCH] Make file listing (either per-repo or per-package) use the correct string pool --- librazor/razor.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/librazor/razor.c b/librazor/razor.c index 021480a..eef083d 100644 --- a/librazor/razor.c +++ b/librazor/razor.c @@ -466,7 +466,7 @@ list_dir(struct razor_set *set, struct razor_entry *dir, char *prefix, const char *pattern) { struct razor_entry *e; - const char *n, *pool = set->string_pool.data; + const char *n, *pool = set->file_string_pool.data; e = (struct razor_entry *) set->files.data + dir->start; do { @@ -525,7 +525,7 @@ list_package_files(struct razor_set *set, struct list *r, int len; entries = (struct razor_entry *) set->files.data; - pool = set->string_pool.data; + pool = set->file_string_pool.data; e = entries + dir->start; do { -- 1.7.1