From owner-cvs-all Sun Mar 4 19:41:15 2001 Delivered-To: cvs-all@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id A916737B718; Sun, 4 Mar 2001 19:41:05 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f253f4d68670; Sun, 4 Mar 2001 20:41:05 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103050341.f253f4d68670@harmony.village.org> Subject: Re: cvs commit: src/sbin/disklabel disklabel.c Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Sun, 04 Mar 2001 19:39:57 PST." <200103050339.f253dwE07153@freefall.freebsd.org> References: <200103050339.f253dwE07153@freefall.freebsd.org> Date: Sun, 04 Mar 2001 20:41:04 -0700 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200103050339.f253dwE07153@freefall.freebsd.org> Warner Losh writes: : imp 2001/03/04 19:39:57 PST : Modified files: : sbin/disklabel disklabel.c : Log: : First attempt to not overflow in disk space calculations. Use off_t : for the size variable used to calculate the size of the partition. : Also use ULL suffix for constants to ensure that we use 64 bit math. This is a good candidate for MFC, asap. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message