mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 17:28:07 +00:00
rdi_make: preserve root-level ..s in interned path tree
This commit is contained in:
+2
-2
@@ -46,10 +46,10 @@ load_paths =
|
|||||||
commands =
|
commands =
|
||||||
{
|
{
|
||||||
//- rjf: [raddbg]
|
//- rjf: [raddbg]
|
||||||
.f1 = { .win = "raddbg_stable --ipc kill_all && build raddbg", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, },
|
// .f1 = { .win = "raddbg_stable --ipc kill_all && build raddbg", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, },
|
||||||
// .f1 = { .win = "raddbg_stable --ipc kill_all && build raddbg debug telemetry", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, },
|
// .f1 = { .win = "raddbg_stable --ipc kill_all && build raddbg debug telemetry", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, },
|
||||||
// .f1 = { .win = "raddbg_stable --ipc kill_all && build radbin", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, },
|
// .f1 = { .win = "raddbg_stable --ipc kill_all && build radbin", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, },
|
||||||
// .f1 = { .win = "build radbin", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, },
|
.f1 = { .win = "build radbin", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, },
|
||||||
|
|
||||||
//- rjf: [raddbg wsl]
|
//- rjf: [raddbg wsl]
|
||||||
// .f1 = { .win = "wsl ./build.sh raddbg", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, },
|
// .f1 = { .win = "wsl ./build.sh raddbg", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, },
|
||||||
|
|||||||
@@ -1972,15 +1972,12 @@ rdim_bake_path_tree_insert(RDIM_Arena *arena, RDIM_BakePathTree *tree, RDIM_Stri
|
|||||||
}
|
}
|
||||||
|
|
||||||
// rjf: .. -> go up
|
// rjf: .. -> go up
|
||||||
if(sub_dir.RDIM_String8_SizeMember == 2 &&
|
if(node->parent != 0 &&
|
||||||
|
(sub_dir.RDIM_String8_SizeMember == 2 &&
|
||||||
sub_dir.RDIM_String8_BaseMember[0] == '.' &&
|
sub_dir.RDIM_String8_BaseMember[0] == '.' &&
|
||||||
sub_dir.RDIM_String8_BaseMember[1] == '.')
|
sub_dir.RDIM_String8_BaseMember[1] == '.'))
|
||||||
{
|
{
|
||||||
sub_dir_node = node->parent;
|
sub_dir_node = node->parent;
|
||||||
if(sub_dir_node == 0)
|
|
||||||
{
|
|
||||||
sub_dir_node = &tree->root;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// rjf: . -> stay here
|
// rjf: . -> stay here
|
||||||
|
|||||||
Reference in New Issue
Block a user