Patch 8.2.3164
Problem: MS-Windows: reported version lacks patchlevel, causing some update
tools to update too often. (Klaus Frank)
Solution: Add the patchlevel to the version. (Christian Brabandt)
Files: src/dosinst.c
*** ../vim-8.2.3163/src/dosinst.c 2021-06-02 13:28:11.423120478 +0200
--- src/dosinst.c 2021-07-15 14:11:10.084353419 +0200
***************
*** 1580,1585 ****
--- 1580,1586 ----
char display_name[BUFSIZE];
char uninstall_string[BUFSIZE];
char icon_string[BUFSIZE];
+ char version_string[BUFSIZE];
int i;
int loop_count = is_64bit_os() ? 2 : 1;
DWORD flag;
***************
*** 1652,1664 ****
sprintf(icon_string, "%s\\gvim.exe,0", installdir);
lRet = register_uninstall(
HKEY_LOCAL_MACHINE,
"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Vim " VIM_VERSION_SHORT,
display_name,
uninstall_string,
icon_string,
! VIM_VERSION_SHORT,
"Bram Moolenaar et al.");
if (ERROR_SUCCESS != lRet)
return FAIL;
--- 1653,1667 ----
sprintf(icon_string, "%s\\gvim.exe,0", installdir);
+ sprintf(version_string, VIM_VERSION_SHORT "." VIM_VERSION_PATCHLEVEL_STR);
+
lRet = register_uninstall(
HKEY_LOCAL_MACHINE,
"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Vim " VIM_VERSION_SHORT,
display_name,
uninstall_string,
icon_string,
! version_string,
"Bram Moolenaar et al.");
if (ERROR_SUCCESS != lRet)
return FAIL;
*** ../vim-8.2.3163/src/version.c 2021-07-15 13:13:35.689833492 +0200
--- src/version.c 2021-07-15 14:13:57.520101770 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3164,
/**/
--
hundred-and-one symptoms of being an internet addict:
148. You find it easier to dial-up the National Weather Service
Weather/your_town/now.html than to simply look out the window.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///