Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Feb 7, 2024
1 parent 7aed300 commit bd093bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tbox/platform/windows/directory.c
Expand Up @@ -325,6 +325,7 @@ tb_void_t tb_directory_walk(tb_char_t const* path, tb_long_t recursion, tb_bool_
}
tb_bool_t tb_directory_copy(tb_char_t const* path, tb_char_t const* dest, tb_size_t flags)
{
tb_trace_i("tb_directory_copy: %s %s", path, dest);
// the absolute path
tb_char_t full0[TB_PATH_MAXN];
path = tb_path_absolute(path, full0, TB_PATH_MAXN);
Expand All @@ -336,7 +337,7 @@ tb_bool_t tb_directory_copy(tb_char_t const* path, tb_char_t const* dest, tb_siz
tb_assert_and_check_return_val(dest, tb_false);

// walk copy
tb_value_t tuple[3];
tb_value_t tuple[4];
tuple[0].cstr = dest;
tuple[1].ul = tb_strlen(path);
tuple[2].ul = flags;
Expand Down

0 comments on commit bd093bd

Please sign in to comment.