diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-22 19:23:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-22 19:23:47 +0000 |
commit | 6570e369eccf19468994e57ddbe2951162ecf74e (patch) | |
tree | 93ff385ce1867f917ccef6897ac3a055f7774698 | |
parent | 860d1b69057d2968de6d16703223a3194619137c (diff) | |
download | perl-URPM-6570e369eccf19468994e57ddbe2951162ecf74e.tar perl-URPM-6570e369eccf19468994e57ddbe2951162ecf74e.tar.gz perl-URPM-6570e369eccf19468994e57ddbe2951162ecf74e.tar.bz2 perl-URPM-6570e369eccf19468994e57ddbe2951162ecf74e.tar.xz perl-URPM-6570e369eccf19468994e57ddbe2951162ecf74e.zip |
(update_header) get real file size from actual package file
(thus enabling to put real package file sizes in synthesis)
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | URPM.xs | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,6 @@ - do not add FILENAME_TAG to hdlist anymore (unused since mdv2008) - fix for a rare crash (mga#4425) +- put real package file sizes in synthesis Version 3.38.8 - 07 February 2012 @@ -1178,6 +1178,7 @@ update_header(char *filename, URPM__Package pkg, __attribute__((unused)) int kee FD_t fd = fdDup(d); Header header; rpmts ts; + pkg->filesize = fdSize(fd); close(d); ts = rpmtsCreate(); |