diff options
Diffstat (limited to 'source/kit/file.c')
-rw-r--r-- | source/kit/file.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/kit/file.c b/source/kit/file.c index 8018660..41b5b9c 100644 --- a/source/kit/file.c +++ b/source/kit/file.c @@ -308,6 +308,8 @@ kit_status_t kit_file_remove_recursive(kit_str_t path, } for (i = 0; i < list.files.size; i++) { + printf(" JOIN \"%s\" + \"%s\" \n", BS(path), + BS(list.files.values[i])); str_builder_t full_path = kit_path_join( path, WRAP_STR(list.files.values[i]), alloc); printf(" REMOVE %s (%d bytes) \n", BS(full_path), @@ -432,8 +434,9 @@ kit_path_list_t kit_folder_enum(kit_str_t path, break; } + printf(" ENUM %s \n", data.cFileName); i64 size = 0; - while (size < MAX_PATH && data.cFileName[size] != L'\0') size++; + while (size < MAX_PATH && data.cFileName[size] != '\0') size++; DA_INIT(result.files.values[n], size, alloc); if (result.files.values[n].size != size) { DA_RESIZE(result.files, n); |