Bill McCarthy wrote:
> On Thu 6-Nov-08 4:03am -0600, Bram Moolenaar wrote:
>
>   
>> Patch 7.2.027
>> Problem:    Can use cscope commands in the sandbox.
>> Solution:   Disallow them, they might not be safe.
>> Files:      src/ex_cmds.h
>>     
>
> After this patch, since its a header file, I did a make
> clean before building.  When it came to compiling ex_docmd.c
> I received error messages and the process ended.  Here are
> the first few messages:
>
> In file included from ex_docmd.c:466:
> ex_cmds.h:656: error: `ex_oldfiles' undeclared here (not in a function)
> ex_cmds.h:656: error: initializer element is not constant
> ex_cmds.h:656: error: (near initialization for `cmdnames[280].cmd_func')
> ex_cmds.h:656: error: initializer element is not constant
> ex_cmds.h:656: error: (near initialization for `cmdnames[280]')
>
>   
I had the same problem; but I was able to manually fix it just fine; 
line 657  should be:

            BANG|TRLBAR|SBOXOK|CMDWIN),

I suspect we both had applied the experimental "oldfiles" patch earlier 
and patch#27 assumes otherwise.

Regards,
Chip Campbell


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui