From 91fe3edcaa7140947075f476a0f20b47a61cbb8b Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 4 Jul 2005 18:13:15 +0000 Subject: Windows fixup++, Daniel --- runtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtest.c') diff --git a/runtest.c b/runtest.c index 62b129b7..d3dc4aaa 100644 --- a/runtest.c +++ b/runtest.c @@ -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 *)); -- cgit v1.2.3