From 91233e688aa2919f67079807f9203f5e27f8b027 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 30 Oct 2014 16:07:04 +0000 Subject: [PATCH] * uinfo.cc (cygheap_user::ontherange): Don't mention /etc/passwd. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/uinfo.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5e88b8046..a048c7804 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2014-10-30 Corinna Vinschen + + * uinfo.cc (cygheap_user::ontherange): Don't mention /etc/passwd. + 2014-10-29 Corinna Vinschen * cygheap.cc (init_cygheap::init_installation_root): Create content of diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 75b447287..8b9266f9d 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -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