To: vim_dev@googlegroups.com Subject: Patch 8.2.0827 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0827 Problem: Vim9: crash in :defcompile. Solution: Fix off-by-one error. Files: src/userfunc.c *** ../vim-8.2.0826/src/userfunc.c 2020-05-26 11:08:24.676420028 +0200 --- src/userfunc.c 2020-05-26 11:31:08.343744173 +0200 *************** *** 3348,3353 **** --- 3348,3354 ---- hi = func_hashtab.ht_array; ht_used = func_hashtab.ht_used; todo = (int)ht_used; + --hi; } } } *** ../vim-8.2.0826/src/version.c 2020-05-26 11:08:24.676420028 +0200 --- src/version.c 2020-05-26 11:37:10.130596886 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 827, /**/ -- hundred-and-one symptoms of being an internet addict: 180. You maintain more than six e-mail addresses. /// Bram Moolenaar -- Bram@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 ///