diff options
author | jbj <devnull@localhost> | 2000-12-02 21:53:44 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-12-02 21:53:44 +0000 |
commit | 2885f536b6e314734c0c04245d77b9f7bdc76d42 (patch) | |
tree | 1ab8d5ab1cbc20bd1b1da69ba475b80816db2da9 /lib/fprint.c | |
parent | d7a40e754dc6b0ac07d2185bb5723384065feab5 (diff) | |
download | librpm-tizen-2885f536b6e314734c0c04245d77b9f7bdc76d42.tar.gz librpm-tizen-2885f536b6e314734c0c04245d77b9f7bdc76d42.tar.bz2 librpm-tizen-2885f536b6e314734c0c04245d77b9f7bdc76d42.zip |
Bring header reggions mods back to top of stack.
CVS patchset: 4305
CVS date: 2000/12/02 21:53:44
Diffstat (limited to 'lib/fprint.c')
-rw-r--r-- | lib/fprint.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/fprint.c b/lib/fprint.c index 65f705907..866af714b 100644 --- a/lib/fprint.c +++ b/lib/fprint.c @@ -230,13 +230,13 @@ void fpLookupHeader(fingerPrintCache cache, Header h, fingerPrint * fpList) int_32 * dirIndexes; if (!headerGetEntryMinMemory(h, RPMTAG_BASENAMES, NULL, - (void **) &baseNames, &fileCount)) return; - headerGetEntryMinMemory(h, RPMTAG_DIRNAMES, NULL, (void **) &dirNames, - NULL); - headerGetEntry(h, RPMTAG_DIRINDEXES, NULL, (void **) &dirIndexes, NULL); - - fpLookupList(cache, dirNames, baseNames, dirIndexes, fileCount, fpList); + (const void **) &baseNames, &fileCount)) return; + headerGetEntryMinMemory(h, RPMTAG_DIRNAMES, NULL, + (const void **) &dirNames, NULL); + headerGetEntryMinMemory(h, RPMTAG_DIRINDEXES, NULL, + (const void **) &dirIndexes, NULL); + fpLookupList(cache, dirNames, baseNames, dirIndexes, fileCount, fpList); free(dirNames); free(baseNames); } |