Subject: CVS commit: src/usr.sbin/pkg_install/add
To: None <source-changes@NetBSD.org>
From: Dan McMahill <dmcmahill@netbsd.org>
List: source-changes
Date: 04/05/2005 16:37:50
Module Name:	src
Committed By:	dmcmahill
Date:		Tue Apr  5 16:37:50 UTC 2005

Modified Files:
	src/usr.sbin/pkg_install/add: perform.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -r1.107 -r1.108 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.