To: [email protected]
Subject: Patch 6.2f.031
Fcc: outbox
From: Bram Moolenaar <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 6.2f.031
Problem:    Crash when listing a function argument in the debugger. (Ron Aaron)
Solution:   Init the name field of an argument to NULL.
Files:      src/eval.c


*** ../vim-6.2f.030/src/eval.c  Wed May 28 20:32:48 2003
--- src/eval.c  Fri May 30 21:11:19 2003
***************
*** 2942,2947 ****
--- 2942,2948 ----
       argp = skipwhite(argp + 1);         /* skip the '(' or ',' */
       if (*argp == ')' || *argp == ',' || *argp == NUL)
           break;
+       argvars[argcount].var_name = NULL;  /* the name is not stored */
       if (eval1(&argp, &argvars[argcount], evaluate) == FAIL)
       {
           ret = FAIL;
*** ../vim-6.2f.030/src/version.c       Fri May 30 21:18:58 2003
--- src/version.c       Fri May 30 21:24:55 2003
***************
*** 632,633 ****
--- 632,635 ----
 {   /* Add new patch number below this line */
+ /**/
+     31,
 /**/

--
Apparently, 1 in 5 people in the world are Chinese.  And there are 5
people in my family, so it must be one of them.  It's either my mum
or my dad.  Or my older brother Colin.  Or my younger brother
Ho-Cha-Chu.  But I think it's Colin.

/// Bram Moolenaar -- [email protected] -- 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        ///
\\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///