This is the mail archive of the
mailing list for the Cygwin project.
Re: /etc/passwd emulation
- To: Kazuhiro Fujieda <email@example.com>, cygwin-developers <firstname.lastname@example.org>
- Subject: Re: /etc/passwd emulation
- From: Earnie Boyd <email@example.com>
- Date: Mon, 13 Sep 1999 05:27:27 -0700 (PDT)
- Reply-To: firstname.lastname@example.org
--- Kazuhiro Fujieda <email@example.com> wrote:
> >>> On Sat, 11 Sep 1999 21:41:37 +0200
> >>> Corinna Vinschen <firstname.lastname@example.org> said:
> > The call to getlogin() is the same as a call to GetUserName()
> > but if it fails, it returns 'unknown'. The original source of
> > read_etc_passwd() sets 'Administrator' as fallback and this is
> > the only difference. While the username is senseless on 9X
> > systems, on NT 'Administrator' would be a better fallback than
> > 'unknown'.So, why should it be changed then...
> Are there any cases that GetUserName() fails on NT ? I understand
> GetUserName() fails mainly on 9X, and I don't want to see
> 'Administrator' on 9x.
But, on 9x everyone is the Administrator so the fallback is correct.
Earnie Boyd <mailto:email@example.com>
Newbies, please visit
(If you respond to the list, then please don't cc me)
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com