Bram Moolenaar wrote:

> Patch 8.1.0747
> Problem:    map() with a bad expression doesn't give an error. (Ingo Karkat)
> Solution:   Check for giving an error message. (closes #3800)
> Files:      src/eval.c, src/testdir/test_filter_map.vim

Something is not right with patch 8.1.0747.
The following command gives junk characters
in the error message:

$ ./vim --clean -c 'call map([1], "42 +")'
Error detected while processing command line:
E15: Invalid expression: đSaSV

If I rerun it, I get different junk, which suggests
that it outputs something not initialized:

$ ./vim --clean -c 'call map([1], "42 +")'
Error detected while processing command line:
E15: Invalid expression: <c4><d1>^W"<ec>U

Yet valgrind reports nothing.

Regards
Dominique

-- 
-- 
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