patch 9.2.0611: MS-Windows: evim.exe not working with VIMDLL
Commit:
https://github.com/vim/vim/commit/fcb0a7801b63863639e65a621d3d8c5a8d2ccc29
Author: K.Takata <
ken...@csc.jp>
Date: Tue Jun 9 19:40:52 2026 +0000
patch 9.2.0611: MS-Windows: evim.exe not working with VIMDLL
Problem: When gvim.exe is built with VIMDLL=yes, and gvim.exe is copied
to evim.exe, evim.exe didn't start in the easy mode.
Solution: Check the executable file type in addition to its filename
(Ken Takata).
closes: #20454
Signed-off-by: K.Takata <
ken...@csc.jp>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/src/main.c b/src/main.c
index e30012be4..53a292325 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2047,7 +2047,11 @@ parse_command_name(mparm_T *parmp)
}
// "gvim" starts the GUI. Also accept "Gvim" for MS-Windows.
- if (TOLOWER_ASC(initstr[0]) == 'g')
+ if (TOLOWER_ASC(initstr[0]) == 'g'
+# ifdef VIMDLL
+ || mch_is_gui_executable()
+# endif
+ )
{
main_start_gui();
# ifdef FEAT_GUI
diff --git a/src/version.c b/src/version.c
index 3b135e4b0..563b2d0ca 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 611,
/**/
610,
/**/