I wrote:

> Elimar Riesebieter wrote:
> 
> > * Dominique Pellé <[email protected]> [2016-02-28 12:08 +0100]:
> > 
> > > Elimar Riesebieter <[email protected]> wrote:
> > 
> > [...]
> > > Can you give us a backtrace with gdb?
> > 
> > No. Can't find a core file anywhere.
> > 
> > > You can get it from the core file using:
> > > 
> > > $ cd vim/src/testdir
> > > $ make clean
> > > $ rm core
> > > $ make test_channel.res
> > 
> > Well running this as user works as it should. So the only difference
> > are the environment variables. My build wrapper has set LANG=C and
> > LC_ALL=C. Setting LANG=en_US.UTF-8 and LC_ALL=en_US.UTF-8 seems to
> > solve the issue.
> > 
> > It looks like an UTF-8 environment is required for running the
> > tests?
> 
> No, but this problem does point in the direction of the conversion
> recently added to JSON encoding/decoding.
> 
> A simple way to try this out is to find vimconv_T in json.c.  Below it
> you will find:
> 
>       if (!enc_utf8)
> 
> Change that to:
> 
>       if (FALSE)
> 
> There are two of these.  Let us know if that solved the problem.

I found one problem: pointer computations were wrong after the
conversion.  Patch 7.4.1445 fixes that.  But on MS-Windows I get a
crash, thus there is another problem.

-- 
"I love deadlines.  I especially like the whooshing sound they
make as they go flying by."
                         -- Douglas Adams

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