From: root Date: Wed, 5 Mar 1997 15:43:15 +0000 (+0000) Subject: header sorting function changed X-Git-Tag: rpm-4.4-release~4258 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb679a2dd0945a4cee1a2fa4674feab8dc7be90c;p=platform%2Fupstream%2Frpm.git header sorting function changed CVS patchset: 1477 CVS date: 1997/03/05 15:43:15 --- diff --git a/build/vspec.c b/build/vspec.c index 68cb5e2..42da1f0 100644 --- a/build/vspec.c +++ b/build/vspec.c @@ -119,8 +119,9 @@ static int checkHeaderTags(Header inh, struct packageFieldsRec *pfr) void *ptr; struct packageFieldsRec *p; - /* This actually sorts the index, so it'll be easy to catch dups */ + /* Sort the index, so it'll be easy to catch dups */ h = headerCopy(inh); + headerSort(h); headerIter = headerInitIterator(h); lastTag = 0;