On Fr, 04 Jun 2021, Bram Moolenaar wrote:

> 
> I wrote:
> 
> > Patch 8.2.2933
> > Problem:    When 'clipboard' is "unnamed" zp and zP do not work correctly.
> > Solution:   Pass -1 to str_to_reg() and fix computing the character width
> >             instead of using the byte length. (Christian Brabandt,
> >             closes #8301, closes #8317)
> > Files:      src/clipboard.c, src/mbyte.c, src/register.c
> 
> I thought the ASAN error was fixed, but apparently it isn't...

No sorry, it wasn't but I still don't know what is causing this. BTW: it 
might make sense to only call mb_charlen_len when we actually need to 
calculate the width, not generally always.

Best,
Christian
-- 
Die ersten vierzig Jahre unseres Lebens liefern den Text, die
folgenden dreißig den Kommentar dazu.
                -- Arthur Schopenhauer

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20210604162534.GI1800871%40256bit.org.

Raspunde prin e-mail lui