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 + + * path.cc (path_conv::check): Remove embedded dots before slashes. + 2005-05-16 Corinna Vinschen * 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;