To: vim-dev@vim.org Subject: Patch 6.1.232 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.232 (depends on 6.1.226) Problem: Using ex_normal_busy while it might not be available. (Axel Kielhorn) Solution: Only use ex_normal_busy when FEAT_EX_EXTRA is defined. Files: src/ex_cmds2.c *** ../vim61.231/src/ex_cmds2.c Mon Oct 14 21:18:12 2002 --- src/ex_cmds2.c Sun Oct 20 12:36:21 2002 *************** *** 33,39 **** --- 33,41 ---- typebuf_T saved_typebuf; int new_typebuf; struct buffheader save_stuffbuff; + # ifdef FEAT_EX_EXTRA int save_ex_normal_busy; + # endif int n; char_u *cmdline = NULL; char_u *p; *************** *** 96,103 **** --- 98,107 ---- * it empty. */ saved_typebuf = typebuf; new_typebuf = (alloc_typebuf() == OK); + # ifdef FEAT_EX_EXTRA save_ex_normal_busy = ex_normal_busy; ex_normal_busy = 0; + # endif save_stuffbuff = stuffbuff; stuffbuff.bh_first.b_next = NULL; *************** *** 108,114 **** --- 112,120 ---- free_typebuf(); typebuf = saved_typebuf; } + # ifdef FEAT_EX_EXTRA ex_normal_busy = save_ex_normal_busy; + # endif free_buff(&stuffbuff); stuffbuff = save_stuffbuff; *** ../vim61.231/src/version.c Thu Oct 17 20:11:44 2002 --- src/version.c Sun Oct 20 12:43:02 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 232, /**/ -- GOD: That is your purpose Arthur ... the Quest for the Holy Grail ... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///