Date: Sun, 29 Oct 1995 07:06:12 +0800 (WST) From: Peter Wemm <peter@jhome.DIALix.COM> To: Steven Wallace <swallace@ece.uci.edu> Cc: CVS-commiters@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/rcs/rlog rlog.1 rlog.c Message-ID: <Pine.BSF.3.91.951029070141.356D-100000@jhome.DIALix.COM> In-Reply-To: <199510282239.PAA02672@newport.ece.uci.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Oct 1995, Steven Wallace wrote:
> > hsu 95/10/28 14:51:01
> >
> > Modified: gnu/usr.bin/rcs CREDITS NEWS REFS rcstest
> ...
>
> Why is the username listed here hsu and not peter?
>
> Steven
Hmm. I'm beginning to think it's either a perl bug or a getpwent bug...
$login = getlogin || (getpwuid($<))[0] || die("unknown user: $<\n");
....
$header = sprintf("%-8s .... format for date", $login, .....);
If the kernel getlogin() name was trashed, the name on the sendmail would
be wrong too. When getlogin() does get trashed, sendmail is most
definately affected (Ever seen your /etc/security cron jobs being emailed
with your Wifes return email address because she last used X11.. :-)
-Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951029070141.356D-100000>
