* uinfo.cc (cygheap_user::ontherange): Don't mention /etc/passwd.

This commit is contained in:
Corinna Vinschen 2014-10-30 16:07:04 +00:00
parent e7ebfb119e
commit 91233e688a
2 changed files with 5 additions and 1 deletions

View File

@ -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>
* cygheap.cc (init_cygheap::init_installation_root): Create content of

View File

@ -339,7 +339,7 @@ cygheap_user::ontherange (homebodies what, struct passwd *pw)
{
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);
}
else