Received: by mail.netbsd.org (Postfix, from userid 0) id E9E9963B102; Sun, 12 Sep 2010 21:18:06 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 2F34B63B100 for ; Sun, 12 Sep 2010 21:18:06 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 0C9D6175DD; Sun, 12 Sep 2010 21:18:06 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Sun, 12 Sep 2010 21:18:06 +0000 From: Manuel Bouyer Subject: CVS commit: [netbsd-4] src/usr.sbin/sa To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20100912211806.0C9D6175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: Manuel Bouyer Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: bouyer Date: Sun Sep 12 21:18:05 UTC 2010 Modified Files: src/usr.sbin/sa [netbsd-4]: usrdb.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1404): usr.sbin/sa/usrdb.c: revision 1.14 On LP64 platforms, uid_t is not the same size as u_long, so the key comparison function being given to db was comparing 4 extra bytes of rubbish. This may or may not be the *only* source of the corrupted /var/account/usracct files I've been seeing occasionally on amd64, but it's clearly *a* source. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.11.16.1 src/usr.sbin/sa/usrdb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.