diff options
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | URPM.pm | 2 | ||||
-rw-r--r-- | URPM.xs | 5 |
3 files changed, 9 insertions, 3 deletions
@@ -1,4 +1,9 @@ +Version 4.2 - 3 Dec 2010, by Per Øyvind Karlsen + +- fix URPM::Package::files() + Version 4.1 - 19 Nov 2010, by Per Øyvind Karlsen + - improve return value checking on headerGet() usage - fix update_provides_files with RPMTAG_OLDFILENAMES - ditch legacy compatibility use of headerPut() on FILENAME_TAG @@ -11,7 +11,7 @@ use URPM::Resolve; use URPM::Signature; our @ISA = qw(DynaLoader); -our $VERSION = '4.1'; +our $VERSION = '4.2'; URPM->bootstrap($VERSION); @@ -789,11 +789,11 @@ return_files(Header header, int filter_mode) { he_dirIndexes->tag = RPMTAG_DIRINDEXES; if(headerGet(header, he_dirIndexes, 0)) - dirNames = he_dirNames->p.argv; + dirIndexes = he_dirIndexes->p.ui32p; he_dirNames->tag = RPMTAG_DIRNAMES; if(headerGet(header, he_dirNames, 0)) - dirIndexes = he_dirIndexes->p.ui32p; + dirNames = he_dirNames->p.argv; if (!baseNames || !dirNames || !dirIndexes) { @@ -827,6 +827,7 @@ return_files(Header header, int filter_mode) { } baseNames = _free(baseNames); + dirIndexes = _free(dirIndexes); dirNames = _free(dirNames); list = _free(list); } |