James McCoy wrote:

> Patch 7.4.710 introduced a condition which relies on adding MAXCOL to a
> pointer.  This can cause the resulting value to wrap, this causing the
> check for lcs_space to fail.
> 
> This is easy to see on i386 when building with -fPIE in CFLAGS/LDFLAGS and
> -pie in LDFLAGS.  Running test_listchars will fail in the second chunk
> (when trail is disabled).
> 
> The below patch fixes this by comparing the difference of the pointers with
> trailcol instead.
> 
> https://github.com/jamessan/vim/commit/29989f1d4587ca5bd253fd2a5231bba785621941.patch

Thanks!

-- 
If someone questions your market projections, simply point out that your
target market is "People who are nuts" and "People who will buy any damn
thing".  Nobody is going to tell you there aren't enough of those people
to go around.
                                (Scott Adams - The Dilbert principle)

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