* path.cc (path_conv::check): Don't strip trailing dots and spaces
at the start of the path.
This commit is contained in:
parent
3b12a57cb6
commit
677ded600c
@ -1,3 +1,8 @@
|
|||||||
|
2005-06-24 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* path.cc (path_conv::check): Don't strip trailing dots and spaces
|
||||||
|
at the start of the path.
|
||||||
|
|
||||||
2005-06-24 Corinna Vinschen <corinna@vinschen.de>
|
2005-06-24 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler.cc (rootdir): Don't set errno.
|
* fhandler.cc (rootdir): Don't set errno.
|
||||||
|
@ -928,7 +928,7 @@ out:
|
|||||||
else if (!tail)
|
else if (!tail)
|
||||||
tail = p;
|
tail = p;
|
||||||
|
|
||||||
if (!tail)
|
if (!tail || tail == path)
|
||||||
/* nothing */;
|
/* nothing */;
|
||||||
else if (tail[-1] != '\\')
|
else if (tail[-1] != '\\')
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user