This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: base-files: LOGNAME
On May 31 11:56, Yaakov S wrote:
> On 2010-05-31 10:58, Corinna Vinschen wrote:
> >I don't know where the logname tool is getting the wrong case from. But
> >that still allows to do an `export LOGNAME=$USER'
>
> Per POSIX, logname(1) must output the exact value of getlogin(3).
Good hint. Actually this was a Cygwin problem. Basically the user name
is first set to what defined by Windows. Later in the initialization it
gets set to the username defined in /etc/passwd. But only if the name
is different in a case-insensitive manner. If the Cygwin user name only
differs from the Windows username by case, the name didn't get changed.
I fixed that in CVS.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple