From b55ba2f3da13dc697c57d7efe3b98c75da2a87b5 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 17 May 2005 01:08:58 +0000 Subject: * path.cc (path_conv::check): Remove embedded dots before slashes. --- winsup/cygwin/path.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/path.cc') 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; -- cgit v1.2.3