From 29c216f24894ff4b68fc44af49d213e945fce886 Mon Sep 17 00:00:00 2001 From: cgf Date: Sat, 15 Jun 2002 01:17:45 +0000 Subject: [PATCH] * uinfo.cc (cygheap_user::ontherange): Don't set HOMEDRIVE or HOMEPATH unless one or the other is specified. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/uinfo.cc | 1 + 2 files changed, 6 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 933c9007af..42c0604d16 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2002-06-14 Christopher Faylor + * uinfo.cc (cygheap_user::ontherange): Don't set HOMEDRIVE or HOMEPATH + unless one or the other is specified. + +2002-06-14 Christopher Faylor + * cygheap.h (cygheap_user::userprofile_env_buf): New static member. * environ.cc (build_env): Add debugging statement. (spenvs): Switch functions for USERDOMAIN and USERNAME. diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index e20c4b7044..eeec275661 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -234,6 +234,7 @@ cygheap_user::ontherange (homebodies what, struct passwd *pw) debug_printf ("Set HOME (from HOMEDRIVE/HOMEPATH) to %s", home); } } + return NULL; } if (homedrive == NULL || !homedrive[0]) -- 2.11.0