Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src/usr.sbin/sa



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.



Home | Main Index | Thread Index | Old Index