Here is a possibility for fixing the 'too big' size of Size (uncompressed). It still makes sense and fits a lot better. Now the dilemma comes if you want to change 'usize' to 'isize'.
Dan
--- pacman-lib.orig/src/pacman/package.c 2006-11-20 09:59:18.000000000 -0500 +++ pacman-lib/src/pacman/package.c 2006-11-20 21:21:41.000000000 -0500 @@ -147,7 +147,7 @@ pmlist_display(_("Replaces :"), alpm_pkg_get_replaces(pkg));
printf(_("Size (compressed) : %ld\n"), (long)alpm_pkg_get_size(pkg)); - printf(_("Size (uncompressed):%ld\n"), (long)alpm_pkg_get_usize(pkg)); + printf(_("Size (installed) : %ld\n"), (long)alpm_pkg_get_usize(pkg)); printf(_("Description : ")); indentprint(alpm_pkg_get_desc(pkg), 20);
On Mon, Nov 20, 2006 at 09:25:58PM -0500, Dan McGee dpmcgee@gmail.com wrote:
Here is a possibility for fixing the 'too big' size of Size (uncompressed). It still makes sense and fits a lot better. Now the dilemma comes if you want to change 'usize' to 'isize'.
thanks, it's in our tree now
udv / greetings, VMiklos
On 11/20/06, Dan McGee dpmcgee@gmail.com wrote:
Here is a possibility for fixing the 'too big' size of Size (uncompressed). It still makes sense and fits a lot better. Now the dilemma comes if you want to change 'usize' to 'isize'.
Switched over the real pacman tree to "isize" across the board. Thanks alot.
pacman-dev@lists.archlinux.org