rpm/fixqueryreturn.diff
Michael Schröder 7836a8c832 - allow ufdio payload
- pack db.h include file
- fix abs filelist specification [bnc#535594]
- fix query return value [bnc#527191]

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=23
2009-09-02 15:55:04 +00:00

14 lines
364 B
Diff

Index: lib/query.c
===================================================================
--- lib/query.c.orig
+++ lib/query.c
@@ -283,7 +283,7 @@ static int rpmgiShowMatches(QVA_t qva, r
if (qva->qva_source == RPMQV_DBOFFSET)
break;
}
- return rpmgiNumErrors(gi);
+ return ec + rpmgiNumErrors(gi);
}
int rpmcliShowMatches(QVA_t qva, rpmts ts)