mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-18 15:11:32 -07:00
absolutify target stdout/stderr/stdin paths based on working directory
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ path_absolute_dst_from_relative_dst_src(Arena *arena, String8 dst, String8 src)
|
||||
{
|
||||
String8 result = dst;
|
||||
PathStyle dst_style = path_style_from_str8(dst);
|
||||
if(dst_style == PathStyle_Relative)
|
||||
if(dst.size != 0 && dst_style == PathStyle_Relative)
|
||||
{
|
||||
Temp scratch = scratch_begin(&arena, 1);
|
||||
String8 dst_from_src_absolute = push_str8f(scratch.arena, "%S/%S", src, dst);
|
||||
|
||||
Reference in New Issue
Block a user