[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: acquiring wrong home directory
From: |
towo |
Subject: |
Re: acquiring wrong home directory |
Date: |
Wed, 28 Oct 2009 09:06:37 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Larry Jones schrieb:
towo@computer.org writes:
The user's home directory seems to be enquired by calling getpwnam or
getpwent.
This is a bug, cvs should rather use the value of $HOME.
CVS *does* use the value of $HOME (if set) in preference to the value
from the passwd file. You need to specify a scenario that's causing you
to think otherwise and let us know exactly what version(s) of CVS you're
using and on what platform(s).
Hi, thanks for your response. Here is some diagnostic log:
$ uname -a
CYGWIN_NT-5.1 TOWOLEO 1.7.0(0.214/5/3) 2009-10-03 14:33 i686 Cygwin
towo@TOWOLEO ~
$ cvs --version
Concurrent Versions System (CVS) 1.12.13 (client/server)
Copyright (C) 2005 Free Software Foundation, Inc.
Senior active maintainers include Larry Jones, Derek R. Price,
and Mark D. Baushke. Please see the AUTHORS and README files from the CVS
distribution kit for a complete list of contributors and copyrights.
CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.
Specify the --help option for further information about CVS
towo@TOWOLEO ~
$ echo $HOME
/cygdrive/d/Texte/towo
towo@TOWOLEO ~
$ cvs login
Logging in to :pserver:anoncvs@cygwin.com:2401/cvs/src
CVS password:
cvs login: CVS password file /home/towo/.cvspass does not exist -
creating a new file
towo@TOWOLEO ~
$
Note that $HOME is not /home/towo
Kind regards,
Thomas