|
Karsten Hopp |
075a8f |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
075a8f |
Subject: Patch 7.3.824
|
|
Karsten Hopp |
075a8f |
Fcc: outbox
|
|
Karsten Hopp |
075a8f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
075a8f |
Mime-Version: 1.0
|
|
Karsten Hopp |
075a8f |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
075a8f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
075a8f |
------------
|
|
Karsten Hopp |
075a8f |
|
|
Karsten Hopp |
075a8f |
Patch 7.3.824
|
|
Karsten Hopp |
075a8f |
Problem: Can redefine builtin functions. (ZyX)
|
|
Karsten Hopp |
075a8f |
Solution: Disallow adding a function to g:.
|
|
Karsten Hopp |
075a8f |
Files: src/eval.c
|
|
Karsten Hopp |
075a8f |
|
|
Karsten Hopp |
075a8f |
|
|
Karsten Hopp |
075a8f |
*** ../vim-7.3.823/src/eval.c 2013-02-14 22:11:31.000000000 +0100
|
|
Karsten Hopp |
075a8f |
--- src/eval.c 2013-02-20 15:17:50.000000000 +0100
|
|
Karsten Hopp |
075a8f |
***************
|
|
Karsten Hopp |
075a8f |
*** 21164,21169 ****
|
|
Karsten Hopp |
075a8f |
--- 21164,21172 ----
|
|
Karsten Hopp |
075a8f |
if (arg[j] != NUL)
|
|
Karsten Hopp |
075a8f |
emsg_funcname((char *)e_invarg2, arg);
|
|
Karsten Hopp |
075a8f |
}
|
|
Karsten Hopp |
075a8f |
+ /* Disallow using the g: dict. */
|
|
Karsten Hopp |
075a8f |
+ if (fudi.fd_dict != NULL && fudi.fd_dict->dv_scope == VAR_DEF_SCOPE)
|
|
Karsten Hopp |
075a8f |
+ EMSG(_("E862: Cannot use g: here"));
|
|
Karsten Hopp |
075a8f |
}
|
|
Karsten Hopp |
075a8f |
|
|
Karsten Hopp |
075a8f |
/*
|
|
Karsten Hopp |
075a8f |
*** ../vim-7.3.823/src/version.c 2013-02-20 13:34:14.000000000 +0100
|
|
Karsten Hopp |
075a8f |
--- src/version.c 2013-02-20 14:11:01.000000000 +0100
|
|
Karsten Hopp |
075a8f |
***************
|
|
Karsten Hopp |
075a8f |
*** 727,728 ****
|
|
Karsten Hopp |
075a8f |
--- 727,730 ----
|
|
Karsten Hopp |
075a8f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
075a8f |
+ /**/
|
|
Karsten Hopp |
075a8f |
+ 824,
|
|
Karsten Hopp |
075a8f |
/**/
|
|
Karsten Hopp |
075a8f |
|
|
Karsten Hopp |
075a8f |
--
|
|
Karsten Hopp |
075a8f |
ARTHUR: You are indeed brave Sir knight, but the fight is mine.
|
|
Karsten Hopp |
075a8f |
BLACK KNIGHT: Had enough?
|
|
Karsten Hopp |
075a8f |
ARTHUR: You stupid bastard. You havn't got any arms left.
|
|
Karsten Hopp |
075a8f |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
075a8f |
|
|
Karsten Hopp |
075a8f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
075a8f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
075a8f |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
075a8f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|