diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-22 19:24:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-22 19:24:45 +0000 |
commit | 361797bee8a4f4f5adb95b732c763178076f2652 (patch) | |
tree | 4e82ec1082e8c86a9ef43a0f6eae0d2b6b2d3441 /URPM.xs | |
parent | 0ea15dea337d57634fc311b0a97aeb7c129d556b (diff) | |
download | perl-URPM-361797bee8a4f4f5adb95b732c763178076f2652.tar perl-URPM-361797bee8a4f4f5adb95b732c763178076f2652.tar.gz perl-URPM-361797bee8a4f4f5adb95b732c763178076f2652.tar.bz2 perl-URPM-361797bee8a4f4f5adb95b732c763178076f2652.tar.xz perl-URPM-361797bee8a4f4f5adb95b732c763178076f2652.zip |
(update_header) get real file size from actual package file
(thus enabling to put real package file sizes in synthesis)
(backported from trunk)
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1183,6 +1183,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(); |