From a6d529b4ce525a2d5d64461cb61ec6f7f339f7a9 Mon Sep 17 00:00:00 2001 From: Nicholas Wilson Date: Sun, 13 Sep 2026 13:57:30 +0100 Subject: [PATCH] Partially revert a Windows behavioural change in pcre2grep In 1876ea1c431295187231ed128622c19d2f8c7e31, I made what I thought was a conservative tidy-up. Unfortunately, it broke one of the MinGW builds (the ordinary Windows builds that I tested were fine). I will need to investigate in future - but for now, I am simply reverting. --- src/pcre2grep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcre2grep.c b/src/pcre2grep.c index a77b22d6a..73a5dd731 100644 --- a/src/pcre2grep.c +++ b/src/pcre2grep.c @@ -3549,7 +3549,7 @@ if ( } #ifdef WIN32 -else if (iswild(pathname)) +if (iswild(pathname)) { char buffer[1024]; char *nextfile;