Allow a leaf after a path
Split at '.' or ':', ref https://www.riscosopen.org/forum/forums/4/topics/15150 Also, return a descriptive error if malloc fails rather than just be silent.
Split at '.' or ':', ref https://www.riscosopen.org/forum/forums/4/topics/15150 Also, return a descriptive error if malloc fails rather than just be silent.