To: vim-dev@vim.org Subject: Patch 6.1b.009 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1b.009 Problem: Can't always compile small features and then adding eval feature, "sandbox" is undefined. (Axel Kielhorn) Solution: Always define "sandbox" when the eval feature is used. Files: src/globals.h *** ../vim61b.008/src/globals.h Tue Mar 12 22:31:40 2002 --- src/globals.h Thu Mar 14 20:21:14 2002 *************** *** 422,429 **** * allowed, e.g. when sourcing .exrc or .vimrc * in current directory */ ! #if defined(FEAT_EVAL) && (defined(FEAT_CINDENT) || defined(FEAT_FOLDING) \ ! || defined(FEAT_PERL)) # define HAVE_SANDBOX EXTERN int sandbox INIT(= 0); /* non-zero when evaluating an expression in a --- 422,428 ---- * allowed, e.g. when sourcing .exrc or .vimrc * in current directory */ ! #ifdef FEAT_EVAL # define HAVE_SANDBOX EXTERN int sandbox INIT(= 0); /* non-zero when evaluating an expression in a *** ../vim61b.008/src/version.c Fri Mar 15 21:10:47 2002 --- src/version.c Fri Mar 15 21:13:37 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 9, /**/ -- WOMAN: Well, 'ow did you become king then? ARTHUR: The Lady of the Lake, [angels sing] her arm clad in the purest shimmering samite, held aloft Excalibur from the bosom of the water signifying by Divine Providence that I, Arthur, was to carry Excalibur. [singing stops] That is why I am your king! The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///