From owner-cvs-src Thu Mar 13 15:35:35 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76A3537B404; Thu, 13 Mar 2003 15:35:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFDE943F93; Thu, 13 Mar 2003 15:35:31 -0800 (PST) (envelope-from robert@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2DNZV0U006995; Thu, 13 Mar 2003 15:35:31 -0800 (PST) (envelope-from robert@repoman.freebsd.org) Received: (from robert@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2DNZVaM006994; Thu, 13 Mar 2003 15:35:31 -0800 (PST) Message-Id: <200303132335.h2DNZVaM006994@repoman.freebsd.org> From: Robert Drehmel Date: Thu, 13 Mar 2003 15:35:31 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/mtree compare.c create.c extern.h mtree.c verify.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG robert 2003/03/13 15:35:31 PST FreeBSD src repository Modified files: usr.sbin/mtree compare.c create.c extern.h mtree.c verify.c Log: - Align the function prototype of the external `crc' function with how `crc' is actually defined. - Remove an unnecessary `extern' variable declaration. Data type corrections: - Define a variable which contains a file byte offset value as type off_t as required by the `crc' function. - Change the type of a variable carrying a CRC checksum from `u_long' to `uint32_t'. - Substitute the wrong `extern' variable declaration of `crc_total' by putting a correct one in the shared header extern.h. `crc_total' is defined as an `uint32_t', thus fixing incorrect mtree checksums on big-endian LP64 machines. Revision Changes Path 1.25 +3 -3 src/usr.sbin/mtree/compare.c 1.28 +4 -4 src/usr.sbin/mtree/create.c 1.8 +2 -1 src/usr.sbin/mtree/extern.h 1.21 +1 -3 src/usr.sbin/mtree/mtree.c 1.18 +1 -2 src/usr.sbin/mtree/verify.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message