From owner-cvs-gnu Sat Oct 28 16:06:40 1995 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA08549 for cvs-gnu-outgoing; Sat, 28 Oct 1995 16:06:40 -0700 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA08489 ; Sat, 28 Oct 1995 16:06:27 -0700 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id HAA08442; Sun, 29 Oct 1995 07:06:13 +0800 Date: Sun, 29 Oct 1995 07:06:12 +0800 (WST) From: Peter Wemm To: Steven Wallace 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 In-Reply-To: <199510282239.PAA02672@newport.ece.uci.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-gnu@FreeBSD.org Precedence: bulk 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