Patch 8.2.1209
Problem: Vim9: test failure.
Solution: Add missing changes to hashtab.
Files: src/hashtab.c
*** ../vim-8.2.1208/src/hashtab.c 2020-04-12 19:37:13.514297270 +0200
--- src/hashtab.c 2020-07-14 14:53:53.265904189 +0200
***************
*** 236,241 ****
--- 236,242 ----
return FAIL;
++ht->ht_used;
+ ++ht->ht_changed;
if (hi->hi_key == NULL)
++ht->ht_filled;
hi->hi_key = key;
***************
*** 271,276 ****
--- 272,278 ----
hash_remove(hashtab_T *ht, hashitem_T *hi)
{
--ht->ht_used;
+ ++ht->ht_changed;
hi->hi_key = HI_KEY_REMOVED;
hash_may_resize(ht, 0);
}
***************
*** 448,453 ****
--- 450,456 ----
ht->ht_array = newarray;
ht->ht_mask = newmask;
ht->ht_filled = ht->ht_used;
+ ++ht->ht_changed;
ht->ht_error = FALSE;
return OK;
*** ../vim-8.2.1208/src/version.c 2020-07-14 15:47:18.220873671 +0200
--- src/version.c 2020-07-14 16:15:00.216725554 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1209,
/**/
--
"Making it up? Why should I want to make anything up? Life's bad enough
as it is without wanting to invent any more of it."
-- Marvin, the Paranoid Android in Douglas Adams'
"The Hitchhiker's Guide to the Galaxy"
/// 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 ///