vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')"
works fine but
vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc\ncall XX()')"
does not. One would expect at least an error about 'trailing characters' as
vim does in some similar situations, expect for 'endfunc "comment' (and perha
2017-06-19 12:41 GMT+03:00 Björn Linse :
> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')"
> works fine but
> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc\ncall XX()')"
> does not. One would expect at least an error about 'trailing characters' as
> vim does in some similar si
2017-06-19 13:08 GMT+03:00 Nikolay Aleksandrovich Pavlov :
> 2017-06-19 12:41 GMT+03:00 Björn Linse :
>> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')"
>> works fine but
>> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc\ncall XX()')"
>> does not. One would expect at least an er
2017-05-16 9:14 GMT+03:00 Christian Brabandt :
> I tried Vim 7.3.0, Vim 7.4.0, Vim 8.0 and Vim 8.0.569 and all behave the
> same.
I have a working vim-7.0.112 at my disposal and it does behave the same as well.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to t
2017-06-19 13:11 GMT+03:00 Nikolay Aleksandrovich Pavlov :
> 2017-06-19 13:08 GMT+03:00 Nikolay Aleksandrovich Pavlov :
>> 2017-06-19 12:41 GMT+03:00 Björn Linse :
>>> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')"
>>> works fine but
>>> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nen
Patch 8.0.0648
Problem:Possible use of NULL pointer if buflist_new() returns NULL.
(Coverity)
Solution: Check for NULL pointer in set_bufref().
Files: src/buffer.c
*** ../vim-8.0.0647/src/buffer.c2017-06-05 16:01:53.917848222 +0200
--- src/buffer.c2017-06-1
Nikolay Pavlov wrote:
> 2017-06-19 13:11 GMT+03:00 Nikolay Aleksandrovich Pavlov :
> > 2017-06-19 13:08 GMT+03:00 Nikolay Aleksandrovich Pavlov
> > :
> >> 2017-06-19 12:41 GMT+03:00 Björn Linse :
> >>> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')"
> >>> works fine but
> >>> vim --cm