Subject: CVS commit: [netbsd-3] src/usr.sbin/pkg_install/add
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 06/14/2005 14:54:28
Module Name:	src
Committed By:	riz
Date:		Tue Jun 14 14:54:28 UTC 2005

Modified Files:
	src/usr.sbin/pkg_install/add [netbsd-3]: perform.c

Log Message:
Pull up revisions 1.108 - 1.109 (requested by dm in ticket #444):
1.108:
Fix a minor bug in the estimation of required disk space.  In particular
make sure we use a data type which is big enough.  This fixes a problem
where pkg_add-ing of a binary package which is between 512 Mb and 1 Gb
failes because the estimated required disk space is negative due to over
flowing in the calculation

1.109:
Fix bad format string which broke the build on LP64 platforms.


To generate a diff of this commit:
cvs rdiff -r1.107 -r1.107.2.1 src/usr.sbin/pkg_install/add/perform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.