]> sourceware.org Git - newlib-cygwin.git/commitdiff
* path.cc (path_conv::check): Remove embedded dots before slashes.
authorChristopher Faylor <me@cgf.cx>
Tue, 17 May 2005 01:08:58 +0000 (01:08 +0000)
committerChristopher Faylor <me@cgf.cx>
Tue, 17 May 2005 01:08:58 +0000 (01:08 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/path.cc

index 3c11a55de97de9a52c81994b2b6af621510932d1..70573a8313fa9545ed0109012c19905527980145 100644 (file)
@@ -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.
index 86724025504472b6cad5ba7e0ed75c029949c95a..e3ab049cefeb66ff0296945b811527197c360751 100644 (file)
@@ -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;
This page took 0.038666 seconds and 5 git commands to generate.