diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-15 01:17:45 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-15 01:17:45 +0000 |
commit | cff111a6bf7e92f651a7dcf841b21d25cfb39037 (patch) | |
tree | 44164c9d04927df50e03a4ac88234140b5a3c99c | |
parent | 6d171b4482689bd1c8a49af94e57d451c8f66448 (diff) | |
download | newlib-cff111a6bf7e92f651a7dcf841b21d25cfb39037.zip newlib-cff111a6bf7e92f651a7dcf841b21d25cfb39037.tar.gz newlib-cff111a6bf7e92f651a7dcf841b21d25cfb39037.tar.bz2 |
* uinfo.cc (cygheap_user::ontherange): Don't set HOMEDRIVE or HOMEPATH unless
one or the other is specified.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/uinfo.cc | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 933c900..42c0604 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2002-06-14 Christopher Faylor <cgf@redhat.com> + * uinfo.cc (cygheap_user::ontherange): Don't set HOMEDRIVE or HOMEPATH + unless one or the other is specified. + +2002-06-14 Christopher Faylor <cgf@redhat.com> + * 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 e20c4b7..eeec275 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]) |