summaryrefslogtreecommitdiff
path: root/src/pool.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2009-07-29 19:00:20 +0200
committerMichael Schroeder <mls@suse.de>2009-07-29 19:00:20 +0200
commit0585efc943ee1a6058a8154011e0a7b29b7f75bc (patch)
tree94bdde4812f23aaa865d16131cd6fd5612c459b1 /src/pool.c
parent023278d642074cc9968ac21efb03edb996025903 (diff)
downloadlibsolv-0585efc943ee1a6058a8154011e0a7b29b7f75bc.tar.gz
libsolv-0585efc943ee1a6058a8154011e0a7b29b7f75bc.tar.bz2
libsolv-0585efc943ee1a6058a8154011e0a7b29b7f75bc.zip
- speed up file list parsing a bit
Diffstat (limited to 'src/pool.c')
-rw-r--r--src/pool.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pool.c b/src/pool.c
index 0702f7f..48bb5f2 100644
--- a/src/pool.c
+++ b/src/pool.c
@@ -1005,6 +1005,11 @@ pool_addfileprovides_search(Pool *pool, struct addfileprovides_cbdata *cbd, stru
break;
if (j < data->nkeys)
{
+#if 0
+ for (i = 0; i < cbd->nfiles; i++)
+ if (!MAPTST(&cbd->providedids, cbd->ids[i]) && !repodata_filelistfilter_matches(data, id2str(pool, cbd->ids[i])))
+ printf("need complete filelist because of %s\n", id2str(pool, cbd->ids[i]));
+#endif
for (i = 0; i < cbd->nfiles; i++)
if (!MAPTST(&cbd->providedids, cbd->ids[i]) && !repodata_filelistfilter_matches(data, id2str(pool, cbd->ids[i])))
break;