summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/path.cc4
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 3c11a55de..70573a831 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-16 Christopher Faylor <cgf@timesys.com>
+
+ * path.cc (path_conv::check): Remove embedded dots before slashes.
+
2005-05-16 Corinna Vinschen <corinna@vinschen.de>
* environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 867240255..e3ab049ce 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -911,8 +911,8 @@ out:
tail = NULL;
else if (p[1] == '\\')
{
- error = ENOENT;
- return;
+ memmove (p, p + 1, strlen (p));
+ tail = NULL;
}
else if (!tail)
tail = p;