# # patch "commands.cc" # from [83e0270a190a283e41cc469ef566b6a8715abacf] # to [4bfb60b6633e6f3356285330228ae08d6fc15df9] # # patch "roster.cc" # from [98bd204e06e2108222d04f32c62350bee2ab24c1] # to [8c1ac29a4f3b2b2615accc8cbf32f669b62b9574] # ======================================================================== --- commands.cc 83e0270a190a283e41cc469ef566b6a8715abacf +++ commands.cc 4bfb60b6633e6f3356285330228ae08d6fc15df9 @@ -1508,7 +1508,10 @@ if (is_dir_t(node)) { - mkdir_p(path); + if (sp.size() == 1) + I(null_name(idx(sp,0))); + else + mkdir_p(path); } else { ======================================================================== --- roster.cc 98bd204e06e2108222d04f32c62350bee2ab24c1 +++ roster.cc 8c1ac29a4f3b2b2615accc8cbf32f669b62b9574 @@ -1786,7 +1786,10 @@ node_t curr = *i; split_path pth; get_name(curr->self, pth); - paths.insert(pth); + if (pth.size() == 1) + I(null_name(idx(pth,0))); + else + paths.insert(pth); } }