From: Muraoka Taro Date: Tue, 6 Jan 2026 10:04:59 +0000 (+0000) Subject: patch 9.1.2053: MS-Windows: May use wrong find command X-Git-Tag: v9.1.2053^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a3b608355f8b4b9a6432dbe52e584368ed43749;p=thirdparty%2Fvim.git patch 9.1.2053: MS-Windows: May use wrong find command Problem: If another find.exe derived from findutils is installed on Windows, unintended behavior will occur. If MSYS2 is installed and prioritized over the system path, then find.exe derived from findutils will be launched during build, resulting in an unintended warning message. Solution: Specify the absolute path including SYSTEMROOT to launch find.exe (Muraoka Taro) closes: #19081 Signed-off-by: Muraoka Taro Signed-off-by: Christian Brabandt --- diff --git a/src/auto/nmake/tools.mak b/src/auto/nmake/tools.mak index cfeb09ab39..d1672ca9fb 100644 --- a/src/auto/nmake/tools.mak +++ b/src/auto/nmake/tools.mak @@ -23,7 +23,7 @@ PSFLAGS = -NoLogo -NoProfile -Command !ERROR The PowerShell program version 3.0 or higher is required for work. !ENDIF -!IF ![echo $(COMSPEC) | 1> nul find "cmd.exe"] +!IF ![echo $(COMSPEC) | 1> nul $(SYSTEMROOT)\System32\find.exe "cmd.exe"] CMD = $(COMSPEC) !ELSE CMD = $(SYSTEMROOT)\System32\cmd.exe diff --git a/src/version.c b/src/version.c index f904ac16d8..a9c9d0544b 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2053, /**/ 2052, /**/