mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-27 04:55:04 +03:00
Windows fixup++, Daniel
This commit is contained in:
parent
cfbb0dd89a
commit
91fe3edcaa
@ -145,7 +145,7 @@ static int glob(const char *pattern, int flags,
|
|||||||
goto done;
|
goto done;
|
||||||
ret->gl_pathc++;
|
ret->gl_pathc++;
|
||||||
while(FindNextFileA(hFind, &FindFileData)) {
|
while(FindNextFileA(hFind, &FindFileData)) {
|
||||||
if (strstr(FindFileData.cFileName, "/."))
|
if (FindFileData.cFileName[0] == '.')
|
||||||
continue;
|
continue;
|
||||||
if (ret->gl_pathc + 2 > nb_paths) {
|
if (ret->gl_pathc + 2 > nb_paths) {
|
||||||
char **tmp = realloc(ret->gl_pathv, nb_paths * 2 * sizeof(char *));
|
char **tmp = realloc(ret->gl_pathv, nb_paths * 2 * sizeof(char *));
|
||||||
|
Loading…
Reference in New Issue
Block a user