* path.cc (path_conv::check): Don't strip trailing dots and spaces

at the start of the path.
This commit is contained in:
Corinna Vinschen
2005-06-24 09:15:05 +00:00
parent 3b12a57cb6
commit 677ded600c
2 changed files with 6 additions and 1 deletions

View File

@@ -928,7 +928,7 @@ out:
else if (!tail)
tail = p;
if (!tail)
if (!tail || tail == path)
/* nothing */;
else if (tail[-1] != '\\')
{