From 0547e71b56374b93a0de7a49bc4c001af5b94481 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 3 Jan 2022 23:13:51 +0100 Subject: fixup for windows checks --- src/tool_findfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tool_findfile.c b/src/tool_findfile.c index 82fc41580..766586f69 100644 --- a/src/tool_findfile.c +++ b/src/tool_findfile.c @@ -131,6 +131,7 @@ char *findfile(const char *fname, int dotscore) defined so we skip the extended check */ continue; filename++; /* move past the leading dot */ + dotscore = 0; /* disable it for this check */ } path = checkhome(home, filename, dotscore ? dotscore - 1 : 0); curl_free(home); -- cgit v1.2.1