Author: mlschroe Date: Thu May 8 14:27:37 2008 New Revision: 9990 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9990&view=rev Log: - disable file filters, but all files in filelist instead Modified: trunk/sat-solver/tools/repo_rpmdb.c Modified: trunk/sat-solver/tools/repo_rpmdb.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo_rpmdb.c?rev=9990&r1=9989&r2=9990&view=diff ============================================================================== --- trunk/sat-solver/tools/repo_rpmdb.c (original) +++ trunk/sat-solver/tools/repo_rpmdb.c Thu May 8 14:27:37 2008 @@ -481,6 +481,8 @@ } +#ifdef USE_FILEFILTER + #define FILEFILTER_EXACT 0 #define FILEFILTER_STARTS 1 #define FILEFILTER_CONTAINS 2 @@ -503,6 +505,8 @@ { FILEFILTER_STARTS, "/opt/gnome/games/", 0}, }; +#endif + static void adddudata(Pool *pool, Repo *repo, Repodata *repodata, Solvable *s, RpmHead *rpmhead, char **dn, unsigned int *di, int fc, int dic) { @@ -640,8 +644,11 @@ char **dn; unsigned int *di; int bnc, dnc, dic; - int i, j; + int i; +#ifdef USE_FILEFILTER + int j; struct filefilter *ff; +#endif #if 0 char *fn = 0; int fna = 0; @@ -676,6 +683,7 @@ for (i = 0; i < bnc; i++) { +#ifdef USE_FILEFILTER ff = filefilters; for (j = 0; j < sizeof(filefilters)/sizeof(*filefilters); j++, ff++) { @@ -707,6 +715,7 @@ } if (j == sizeof(filefilters)/sizeof(*filefilters)) continue; +#endif #if 0 j = strlen(bn[i]) + strlen(dn[di[i]]) + 1; if (j > fna) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org