CVSROOT: /cvs Module name: src Changes by: [EMAIL PROTECTED] 2008/09/17 00:47:57
Modified files:
usr.bin/cvs : rcs.c
usr.bin/rcs : rcs.c
Log message:
try getlogin() to get the real username when comitting files as root.
this gives better information in log messages when the user logged in
with a different uid and used sudo or su to become root. matches the
behaviour of gcvs except that we don't fallback to LOGNAME or USER
since getlogin() should not lie.
ok tobias@
