diff options
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1965,10 +1965,9 @@ Pkg_obsoletes_nosense(pkg) SPAGAIN; int -Pkg_obsoletes_overlap(pkg, s, direction=-1) +Pkg_obsoletes_overlap(pkg, s) URPM::Package pkg char *s - int direction ALIAS: provides_overlap = 1 PREINIT: @@ -2006,7 +2005,7 @@ Pkg_obsoletes_overlap(pkg, s, direction=-1) os.evr = s; } else os.evr = ""; - os.direction = direction; + os.direction = ix == 0 ? -1 : 1; /* mark end of name */ if (eon) { eonc = *eon; |