summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-04-12 16:46:08 +0200
committerMichael Schroeder <mls@suse.de>2013-04-12 16:46:08 +0200
commit1394005510987fd14288dcad65326c29ce25629a (patch)
treed33eccd08ff8a5f7edfa7cb2814cc5088956a1f4 /examples
parent1555ef2e3cbd20043254c3ae865ff3b737aade7d (diff)
downloadlibsolv-1394005510987fd14288dcad65326c29ce25629a.tar.gz
libsolv-1394005510987fd14288dcad65326c29ce25629a.tar.bz2
libsolv-1394005510987fd14288dcad65326c29ce25629a.zip
support checking for directory aliases when searching for file conflicts
Diffstat (limited to 'examples')
-rw-r--r--examples/solv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/solv.c b/examples/solv.c
index 3f4156d..5d8e31e 100644
--- a/examples/solv.c
+++ b/examples/solv.c
@@ -3175,7 +3175,7 @@ rerunsolver:
fcstate.newpkgscnt = newpkgs;
fcstate.checkq = &checkq;
fcstate.newpkgsfps = newpkgsfps;
- pool_findfileconflicts(pool, &checkq, newpkgs, &conflicts, &fileconflict_cb, &fcstate);
+ pool_findfileconflicts(pool, &checkq, newpkgs, &conflicts, FINDFILECONFLICTS_USE_SOLVABLEFILELIST | FINDFILECONFLICTS_CHECK_DIRALIASING | FINDFILECONFLICTS_USE_ROOTDIR, &fileconflict_cb, &fcstate);
fcstate.rpmstate = rpm_state_free(fcstate.rpmstate);
if (conflicts.count)
{