diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-17 05:08:58 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-17 05:08:58 +0400 |
commit | b55ba2f3da13dc697c57d7efe3b98c75da2a87b5 (patch) | |
tree | 89a4303b86614ed15748ad34ac1451680303c0b7 /winsup | |
parent | 451c738befa50461c659c9bcebfef0fcf9e9cd00 (diff) |
* path.cc (path_conv::check): Remove embedded dots before slashes.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/path.cc | 4 |
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; |