Patch 8.2.1565
Problem:    Spellfile test sometimes fails.
Solution:   Check running into the end of the file.
Files:      src/spellfile.c


*** ../vim-8.2.1564/src/spellfile.c     2020-09-02 10:25:41.863436972 +0200
--- src/spellfile.c     2020-09-02 12:55:29.156295455 +0200
***************
*** 3533,3540 ****
      spin->si_msg_count = 999999;
  
      // Read and ignore the first line: word count.
!     (void)vim_fgets(line, MAXLINELEN, fd);
!     if (!vim_isdigit(*skipwhite(line)))
        semsg(_("E760: No word count in %s"), fname);
  
      /*
--- 3533,3539 ----
      spin->si_msg_count = 999999;
  
      // Read and ignore the first line: word count.
!     if (vim_fgets(line, MAXLINELEN, fd) || !vim_isdigit(*skipwhite(line)))
        semsg(_("E760: No word count in %s"), fname);
  
      /*
*** ../vim-8.2.1564/src/version.c       2020-09-02 10:25:41.867436958 +0200
--- src/version.c       2020-09-02 12:57:03.628046510 +0200
***************
*** 756,757 ****
--- 756,759 ----
  {   /* Add new patch number below this line */
+ /**/
+     1565,
  /**/

-- 
FATHER:    Did you kill all those guards?
LAUNCELOT: Yes ...  I'm very sorry ...
FATHER:    They cost fifty pounds each!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/202009021100.082B0IWI3557015%40masaka.moolenaar.net.

Raspunde prin e-mail lui