Patch 9.0.0966

2 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 28, 2022, 2:11:44 PM11/28/22
to vim...@googlegroups.com

Patch 9.0.0966 (after 9.0.0965)
Problem: Some compilers don't allow a declaration after a label.
Solution: Move the declaration to the start of the block. (John Marriott)
Files: src/screen.c


*** ../vim-9.0.0965/src/screen.c 2022-11-28 18:51:38.955571567 +0000
--- src/screen.c 2022-11-28 19:10:28.098229956 +0000
***************
*** 2383,2388 ****
--- 2383,2389 ----
static int entered = FALSE; // avoid recursiveness
static int done_outofmem_msg = FALSE; // did outofmem message
int retry_count = 0;
+ int found_null;

retry:
/*
***************
*** 2509,2516 ****
#endif

give_up:
!
! int found_null = FALSE;
for (int i = 0; i < p_mco; ++i)
if (new_ScreenLinesC[i] == NULL)
{
--- 2510,2516 ----
#endif

give_up:
! found_null = FALSE;
for (int i = 0; i < p_mco; ++i)
if (new_ScreenLinesC[i] == NULL)
{
*** ../vim-9.0.0965/src/version.c 2022-11-28 18:51:38.967571631 +0000
--- src/version.c 2022-11-28 19:10:12.470215490 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 966,
/**/

--
hundred-and-one symptoms of being an internet addict:
171. You invent another person and chat with yourself in empty chat rooms.

/// 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 ///
Reply all
Reply to author
Forward
0 new messages