[pacman-dev] Fix alignment in package.c of new uncompressed field

Dan McGee dpmcgee at gmail.com
Mon Nov 20 21:25:58 EST 2006


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);




More information about the pacman-dev mailing list