]> git.pld-linux.org Git - packages/vim.git/blame - 6.2.046
- removed conflict with 6.2.259
[packages/vim.git] / 6.2.046
CommitLineData
d8621708 1To: vim-dev@vim.org
2Subject: Patch 6.2.046
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.2.046
11Problem: When evaluating an argument of a function throws an exception the
12 function is still called. (Hari Krishna Dara)
13Solution: Don't call the function when an exception was thrown.
14Files: src/eval.c
15
16
17*** ../vim-6.2.045/src/eval.c Fri Jul 25 22:43:59 2003
18--- src/eval.c Sat Jul 26 18:35:19 2003
19***************
20*** 2957,2967 ****
21 else
22 ret = FAIL;
23
24! if (ret == OK)
25! ret = call_func(name, len, retvar, argcount, argvars,
26 firstline, lastline, doesrange, evaluate);
27! else if (!aborting())
28! EMSG2(_("E116: Invalid arguments for function %s"), name);
29
30 while (--argcount >= 0)
31 clear_var(&argvars[argcount]);
32--- 2975,2988 ----
33 else
34 ret = FAIL;
35
36! if (!aborting())
37! {
38! if (ret == OK)
39! ret = call_func(name, len, retvar, argcount, argvars,
40 firstline, lastline, doesrange, evaluate);
41! else
42! EMSG2(_("E116: Invalid arguments for function %s"), name);
43! }
44
45 while (--argcount >= 0)
46 clear_var(&argvars[argcount]);
47*** ../vim-6.2.045/src/version.c Sun Jul 27 14:22:19 2003
48--- src/version.c Sun Jul 27 14:25:19 2003
49***************
50*** 632,633 ****
51--- 632,635 ----
52 { /* Add new patch number below this line */
53+ /**/
54+ 46,
55 /**/
56
57--
58Hacker: Someone skilled in computer programming (good guy).
59Cracker: A hacker that uses his skills to crack software (bad guy).
60
61 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
62/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
63\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
64 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
This page took 0.036284 seconds and 4 git commands to generate.