To: vim_dev@googlegroups.com Subject: Patch 8.2.2730 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2730 Problem: Coverity complains about not restoring character. Solution: Also restore the character in case of an error. Files: src/vim9compile.c *** ../vim-8.2.2729/src/vim9compile.c 2021-04-06 21:17:23.930140057 +0200 --- src/vim9compile.c 2021-04-06 21:27:01.472592129 +0200 *************** *** 6108,6113 **** --- 6108,6114 ---- { // this should not happen emsg(_(e_missbrac)); + var_start[varlen] = c; return FAIL; } var_start[varlen] = c; *** ../vim-8.2.2729/src/version.c 2021-04-06 21:17:23.930140057 +0200 --- src/version.c 2021-04-06 21:29:21.400223126 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2730, /**/ -- hundred-and-one symptoms of being an internet addict: 76. Your ISP regards you as a business partner rather than as a customer. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///