Date: Thu, 13 Mar 2003 15:35:31 -0800 (PST) From: Robert Drehmel <robert@FreeBSD.org> 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 Message-ID: <200303132335.h2DNZVaM006994@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303132335.h2DNZVaM006994>