header sorting function changed
authorroot <devnull@localhost>
Wed, 5 Mar 1997 15:43:15 +0000 (15:43 +0000)
committerroot <devnull@localhost>
Wed, 5 Mar 1997 15:43:15 +0000 (15:43 +0000)
CVS patchset: 1477
CVS date: 1997/03/05 15:43:15

build/vspec.c

index 68cb5e2..42da1f0 100644 (file)
@@ -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;