* path.cc (path_conv::check): Remove embedded dots before slashes.

This commit is contained in:
Christopher Faylor 2005-05-17 01:08:58 +00:00
parent 451c738bef
commit b55ba2f3da
2 changed files with 6 additions and 2 deletions

View 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> 2005-05-16 Corinna Vinschen <corinna@vinschen.de>
* environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely. * environ.cc (conv_envvars): Remove LD_LIBRARY_PATH entirely.

View File

@ -911,8 +911,8 @@ out:
tail = NULL; tail = NULL;
else if (p[1] == '\\') else if (p[1] == '\\')
{ {
error = ENOENT; memmove (p, p + 1, strlen (p));
return; tail = NULL;
} }
else if (!tail) else if (!tail)
tail = p; tail = p;