Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-15 05:17:45 +0400
committerChristopher Faylor <me@cgf.cx>2002-06-15 05:17:45 +0400
commitcff111a6bf7e92f651a7dcf841b21d25cfb39037 (patch)
tree44164c9d04927df50e03a4ac88234140b5a3c99c /winsup/cygwin/uinfo.cc
parent6d171b4482689bd1c8a49af94e57d451c8f66448 (diff)
* uinfo.cc (cygheap_user::ontherange): Don't set HOMEDRIVE or HOMEPATH unless
one or the other is specified.
Diffstat (limited to 'winsup/cygwin/uinfo.cc')
-rw-r--r--winsup/cygwin/uinfo.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc
index e20c4b704..eeec27566 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])