compare_deps: fix a bug in handling epochs
Fixes: 4.0.4-alt100.63~1
This commit is contained in:
parent
153086afe1
commit
a555b44bb5
@ -224,8 +224,9 @@ compare_deps (rpmTag tag, const char *Aevr, rpmsenseFlags Aflags,
|
||||
* that they are equal, then the dep that has Epoch wins.
|
||||
*/
|
||||
const char *ae = aE, *be = bE;
|
||||
if ((!(aE && *aE) || !(bE && *bE)))
|
||||
if ((!(aE && *aE) || !(bE && *bE))) {
|
||||
ae = NULL; be = NULL;
|
||||
}
|
||||
|
||||
if ((aR && *aR) && !(bR && *bR))
|
||||
wcmp = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user