summaryrefslogtreecommitdiffstats
path: root/winsup
diff options
context:
space:
mode:
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/release/2.2.115
-rw-r--r--winsup/cygwin/uinfo.cc9
3 files changed, 20 insertions, 8 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index dc93358f4..5a8024312 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-10 Corinna Vinschen <corinna@vinschen.de>
+
+ * uinfo.cc (cygheap_user::ontherange): Revert previous patch.
+
2015-08-03 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 1.
diff --git a/winsup/cygwin/release/2.2.1 b/winsup/cygwin/release/2.2.1
new file mode 100644
index 000000000..3a6da3a41
--- /dev/null
+++ b/winsup/cygwin/release/2.2.1
@@ -0,0 +1,15 @@
+What's new:
+-----------
+
+
+What changed:
+-------------
+
+- Revert the following patch from 2.2.0:
+ When started from a non-Cygwin process, check if $HOME starts with a
+ slash (absolute POSIX path). Otherwise ignore it.
+
+
+Bug Fixes
+---------
+
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc
index 334c2e988..da5809f64 100644
--- a/winsup/cygwin/uinfo.cc
+++ b/winsup/cygwin/uinfo.cc
@@ -331,14 +331,7 @@ cygheap_user::ontherange (homebodies what, struct passwd *pw)
char *p;
if ((p = getenv ("HOME")))
- {
- debug_printf ("HOME is already in the environment %s", p);
- if (p[0] != '/')
- {
- p = NULL;
- debug_printf ("discard HOME, no absolute POSIX path");
- }
- }
+ debug_printf ("HOME is already in the environment %s", p);
if (!p)
{
if (pw && pw->pw_dir && *pw->pw_dir)