* uinfo.cc (cygheap_user::ontherange): Don't mention /etc/passwd.
This commit is contained in:
parent
e7ebfb119e
commit
91233e688a
@ -1,3 +1,7 @@
|
|||||||
|
2014-10-30 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* uinfo.cc (cygheap_user::ontherange): Don't mention /etc/passwd.
|
||||||
|
|
||||||
2014-10-29 Corinna Vinschen <corinna@vinschen.de>
|
2014-10-29 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* cygheap.cc (init_cygheap::init_installation_root): Create content of
|
* cygheap.cc (init_cygheap::init_installation_root): Create content of
|
||||||
|
@ -339,7 +339,7 @@ cygheap_user::ontherange (homebodies what, struct passwd *pw)
|
|||||||
{
|
{
|
||||||
if (pw && pw->pw_dir && *pw->pw_dir)
|
if (pw && pw->pw_dir && *pw->pw_dir)
|
||||||
{
|
{
|
||||||
debug_printf ("Set HOME (from /etc/passwd) to %s", pw->pw_dir);
|
debug_printf ("Set HOME (from account db) to %s", pw->pw_dir);
|
||||||
setenv ("HOME", pw->pw_dir, 1);
|
setenv ("HOME", pw->pw_dir, 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user