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 -- Br...@Moolenaar.net --
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 ///