[pacman-dev] CVS update of pacman-lib/lib/libalpm (be_files.c)
Date: Monday, March 12, 2007 @ 11:41:33 Author: dan Path: /home/cvs-pacman/pacman-lib/lib/libalpm Modified: be_files.c (1.37 -> 1.38) * Fix wrong filesize being recorded to local DB. Reported by Andreas Radke. ------------+ be_files.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: pacman-lib/lib/libalpm/be_files.c diff -u pacman-lib/lib/libalpm/be_files.c:1.37 pacman-lib/lib/libalpm/be_files.c:1.38 --- pacman-lib/lib/libalpm/be_files.c:1.37 Sun Mar 11 23:02:57 2007 +++ pacman-lib/lib/libalpm/be_files.c Mon Mar 12 11:41:33 2007 @@ -568,8 +568,9 @@ "%s\n\n", info->packager); } if(info->size) { + /* only write installed size, csize is irrelevant once installed */ fprintf(fp, "%%SIZE%%\n" - "%lu\n\n", info->size); + "%lu\n\n", info->isize); } if(info->reason) { fprintf(fp, "%%REASON%%\n"
participants (1)
-
Dan McGee