Hi Rob,

 I have suggestion for function dirtree_path. In this function  '/' is
added in the path.
I think it can be modified to add the '/' only in case it not there, it
will avoid double "//" in the path.

It can be done by changing

*if(len) path[len++] = '/';*
to
||
V

*if(len)*
*   if(path[len -1] != '/') path[len++] = '/';*
*
*
regards,
Ashwini
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to