core: Use a better termination condition in os::mkdir_recursive
Instead of checking whether the parent is "." or "/", check the number of components. Also, more tests.
Showing
想要评论请 注册 或 登录
Instead of checking whether the parent is "." or "/", check the number of components. Also, more tests.