Yegappan Lakshmanan wrote:

> I built the latest vim (7.4.1646) with debug (-g) information on Mac OS.
> On startup, Vim aborts at the following location:
> 
> frame #7: 0x000000010002fe23 vim`eval_init + 163 at eval.c:940
>    937     for (i = 0; i < VV_LEN; ++i)
>    938     {
>    939            p = &vimvars[i];
> -> 940          STRCPY(p->vv_di.di_key, p->vv_name);
>    941            if (p->vv_flags & VV_RO)
>    942                  p->vv_di.di_flags = DI_FLAGS_RO | DI_FLAGS_FIX;
>    943            else if (p->vv_flags & VV_RO_SBX)
> 
> The strcpy check says "detected source and destination buffer overlap".

The compiler tries to protect from a buffer overflow.  The struct is
indeed weird.  Let's see if I can solve that by declaring a dictitem
with a longer key.

-- 
hundred-and-one symptoms of being an internet addict:
118. You are on a first-name basis with your ISP's staff.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui