From: Michael Schroeder Date: Wed, 23 Feb 2011 18:12:36 +0000 (+0100) Subject: - use SUSETAGS_RECORD_SHARES feature so extensions can reuse the shared data X-Git-Tag: BASE-SuSE-Code-12_1-Branch~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5d7a26fe2c656b3e3fc92cc82358fdd718fc0c1;p=thirdparty%2Flibsolv.git - use SUSETAGS_RECORD_SHARES feature so extensions can reuse the shared data --- diff --git a/examples/solv.c b/examples/solv.c index b277617a..6d5f33fc 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -1850,7 +1850,7 @@ read_repos(Pool *pool, struct repoinfo *repoinfos, int nrepoinfos) printf(" fetching\n"); if ((fp = curlfopen(cinfo, pool_tmpjoin(pool, descrdir, "/", filename), iscompressed(filename), filechksum, filechksumtype, &badchecksum)) == 0) break; /* hopeless */ - repo_add_susetags(repo, fp, defvendor, 0, REPO_NO_INTERNALIZE); + repo_add_susetags(repo, fp, defvendor, 0, REPO_NO_INTERNALIZE|SUSETAGS_RECORD_SHARES); fclose(fp); /* add default language */ filename = susetags_find(repo, "packages.en.gz", &filechksum, &filechksumtype);