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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221128191128.0A2061C0A61%40moolenaar.net.

Raspunde prin e-mail lui