To: vim_dev@googlegroups.com Subject: Patch 7.4.950 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.950 Problem: v:errors is not initialized. Solution: Initialze it to an empty list. (Thinca) Files: src/eval.c *** ../vim-7.4.949/src/eval.c 2015-12-03 13:52:48.439584211 +0100 --- src/eval.c 2015-12-03 14:52:58.568671030 +0100 *************** *** 900,905 **** --- 900,906 ---- set_vim_var_nr(VV_SEARCHFORWARD, 1L); set_vim_var_nr(VV_HLSEARCH, 1L); set_vim_var_dict(VV_COMPLETED_ITEM, dict_alloc()); + set_vim_var_list(VV_ERRORS, list_alloc()); set_reg_var(0); /* default for v:register is not 0 but '"' */ #ifdef EBCDIC *** ../vim-7.4.949/src/version.c 2015-12-03 14:28:36.100419806 +0100 --- src/version.c 2015-12-03 14:53:43.236190104 +0100 *************** *** 743,744 **** --- 743,746 ---- { /* Add new patch number below this line */ + /**/ + 950, /**/ -- If Apple would build a car... ... it would be powered by the sun, be reliable, five times as fast and twice as easy to drive; but would only run on five percent of the roads. /// 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 ///