To: vim_dev@googlegroups.com Subject: Patch 8.1.2186 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.2186 (after 8.1.2184) Problem: Cannot build without the +eval feature. Solution: Move line inside #ifdef. Files: src/option.c *** ../vim-8.1.2185/src/option.c 2019-10-19 20:18:42.626199311 +0200 --- src/option.c 2019-10-19 20:55:36.096516296 +0200 *************** *** 5812,5819 **** if (should_copy || (flags & BCO_ALWAYS)) { - vim_memset(buf->b_p_script_ctx, 0, sizeof(buf->b_p_script_ctx)); #ifdef FEAT_EVAL init_buf_opt_idx(); #endif // Don't copy the options specific to a help buffer when --- 5812,5819 ---- if (should_copy || (flags & BCO_ALWAYS)) { #ifdef FEAT_EVAL + vim_memset(buf->b_p_script_ctx, 0, sizeof(buf->b_p_script_ctx)); init_buf_opt_idx(); #endif // Don't copy the options specific to a help buffer when *** ../vim-8.1.2185/src/version.c 2019-10-19 20:38:11.904991683 +0200 --- src/version.c 2019-10-19 20:46:11.530870444 +0200 *************** *** 743,744 **** --- 743,746 ---- { /* Add new patch number below this line */ + /**/ + 2186, /**/ -- THEOREM: VI is perfect. PROOF: VI in roman numerals is 6. The natural numbers < 6 which divide 6 are 1, 2, and 3. 1+2+3 = 6. So 6 is a perfect number. Therefore, VI is perfect. QED -- Arthur Tateishi /// 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 ///