Glob fix.
This commit is contained in:
@@ -846,6 +846,10 @@ char *tool_function_directory_rglob(char *target_dir) {
|
||||
struct stat file_stat;
|
||||
char mod_time[20], create_time[20];
|
||||
|
||||
` if(!strcmp(target_dir, ".")) {
|
||||
target_dir[0] = '*';
|
||||
}
|
||||
|
||||
recursive_glob(target_dir, &results);
|
||||
|
||||
json_object *json_array = json_object_new_array();
|
||||
|
||||
Reference in New Issue
Block a user