Commit 91fe3edc authored by Daniel Veillard's avatar Daniel Veillard

Windows fixup++, Daniel

parent cfbb0dd8
......@@ -145,7 +145,7 @@ static int glob(const char *pattern, int flags,
goto done;
ret->gl_pathc++;
while(FindNextFileA(hFind, &FindFileData)) {
if (strstr(FindFileData.cFileName, "/."))
if (FindFileData.cFileName[0] == '.')
continue;
if (ret->gl_pathc + 2 > nb_paths) {
char **tmp = realloc(ret->gl_pathv, nb_paths * 2 * sizeof(char *));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment