Module Name: src Committed By: riz Date: Sun Nov 21 20:51:53 UTC 2010
Modified Files: src/usr.sbin/sa [netbsd-5]: usrdb.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1446): 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.38.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.