[Toybox] mkpathat() behavior

Ashwini Sharma ak.ashwini1981 at gmail.com
Wed May 7 02:52:11 PDT 2014


Hi Rob, list,

__mkpathat()__ function doesn't create the last component in the given path
if (flags & 1) == 0, e.g. input path is "a/b/c" and flags = 2, then __a__
and __b__
are created but __c__ isn't.

Is it expecting the filename also in the path component, to make the path
recursively.
I guess it shouldn't otherwise it defies the purpose of mkpathat().

regards,
Ashwini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20140507/fb53f38b/attachment-0001.htm>


More information about the Toybox mailing list