diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-08 11:13:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-08 11:13:42 +0000 |
commit | 0420ed104e9f97a318ad31dec8789274dc9fdff8 (patch) | |
tree | e14fa03e7ba63742fc49449b9510c4c54faaf287 | |
parent | f8e163a8edeaee4f1d41f3944680be408a7787ad (diff) | |
download | perl-URPM-0420ed104e9f97a318ad31dec8789274dc9fdff8.tar perl-URPM-0420ed104e9f97a318ad31dec8789274dc9fdff8.tar.gz perl-URPM-0420ed104e9f97a318ad31dec8789274dc9fdff8.tar.bz2 perl-URPM-0420ed104e9f97a318ad31dec8789274dc9fdff8.tar.xz perl-URPM-0420ed104e9f97a318ad31dec8789274dc9fdff8.zip |
- fix regression in ->parse_rpm (introduced in 3.00)
(was breaking genhdlist2 and mkcd)
one got too many open files :-/
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | URPM.xs | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- fix regression in ->parse_rpm (introduced in 3.00) + (was breaking genhdlist2 and mkcd) + Version 3.04 - 20 December 2007, by Pascal "Pixel" Rigaux - fix regression in parse_pubkeys() (introduced in 3.00) (#36121) @@ -1256,6 +1256,7 @@ update_header(char *filename, URPM__Package pkg, int keep_all_tags, int vsflags) basename = strrchr(filename, '/'); size = fdSize(fd); + Fclose(fd); headerAddEntry(header, FILENAME_TAG, RPM_STRING_TYPE, basename != NULL ? basename + 1 : filename, 1); headerAddEntry(header, FILESIZE_TAG, RPM_INT32_TYPE, &size, 1); |