[pacman-dev] [PATCH] pacman/util.c: Fix negative Installed size

Peter Wu lekensteyn at gmail.com
Thu May 9 12:47:43 EDT 2013


On Thursday 09 May 2013 12:40:12 Dave Reisner wrote:
> On Thu, May 09, 2013 at 06:27:56PM +0200, Peter Wu wrote:
> > Commit ce5ee8a065a590564982191c76cb325ab05e04e2 separated the display of
> > Download, Installed/Removed and Upgrade size such that the output can
> > nicely be formatted. However, it also changed the data type for storing
> > the actual size.>
> > 
> >
> > Previously it was off_t (sizeof == 8), after that commit is became int
> > (sizeof == 4). This patch restores the previous behaviour and shows the
> > expected (non-negative) values again.
> 
> https://projects.archlinux.org/pacman.git/commit/?id=b5a7734a

Odd, I did not see this a week ago. Must have made a mistake while bisecting. 
Thanks for your reply.

Peter


More information about the pacman-dev mailing list