reports: don't add obsoleted packages to built packages lists
This commit is contained in:
parent
e07f68435d
commit
cdf0f1d7c8
@ -2092,8 +2092,10 @@ print_datatables(struct configTag *ct, int arch) {
|
|||||||
obsoletebuf[0] = '\0';
|
obsoletebuf[0] = '\0';
|
||||||
|
|
||||||
while (currchild) {
|
while (currchild) {
|
||||||
|
if (currchild->obsoleted == 0) {
|
||||||
fprintf(fbsh,"%s",currchild->name);
|
fprintf(fbsh,"%s",currchild->name);
|
||||||
fprintf(fb," %s",currchild->name);
|
fprintf(fb," %s",currchild->name);
|
||||||
|
}
|
||||||
for (i = 0; i < currchild->obsoletecount; i++ ) {
|
for (i = 0; i < currchild->obsoletecount; i++ ) {
|
||||||
if ((i > 0) && (!strcmp(currchild->obsoletename[i],currchild->obsoletename[i-1]))) continue;
|
if ((i > 0) && (!strcmp(currchild->obsoletename[i],currchild->obsoletename[i-1]))) continue;
|
||||||
if (strlen(obsoletebuf) + strlen(currchild->obsoletename[i]) >= PATH_MAX - 2) {
|
if (strlen(obsoletebuf) + strlen(currchild->obsoletename[i]) >= PATH_MAX - 2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user