Glob fix.
This commit is contained in:
parent
0eb1d93d73
commit
d2f57931a1
4
tools.h
4
tools.h
@ -845,8 +845,8 @@ char *tool_function_directory_rglob(char *target_dir) {
|
|||||||
results.gl_pathc = 0;
|
results.gl_pathc = 0;
|
||||||
struct stat file_stat;
|
struct stat file_stat;
|
||||||
char mod_time[20], create_time[20];
|
char mod_time[20], create_time[20];
|
||||||
|
|
||||||
` if(!strcmp(target_dir, ".")) {
|
if(!strcmp(target_dir, ".")) {
|
||||||
target_dir[0] = '*';
|
target_dir[0] = '*';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user