Re: Display of some multi-line links is cut off in the middle

KIHARA Hideto <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
> > > * Actual Result:
> > > lynx https://lists.nongnu.org/archive/html/lynx-dev/2021-10/threads.html

> oh.  I see.  But I don't see this result here (perhaps locale-dependent).

I used this configuration on Debian 9:
./configure --libdir=/usr/local/lib/lynx --enable-nls \
--enable-included-msgs --with-ssl --enable-addrlist-page \
--enable-charset-choice --enable-cjk --enable-default-colors \
--enable-file-upload --enable-justify-elts --enable-nested-tables \
--enable-read-eta --enable-source-cache --enable-gzip-help --with-zlib \
--enable-externs --enable-internal-links --enable-japanese-utf8 \
--with-screen=ncursesw --enable-wcwidth-support --disable-color-style

or this configuration:
./configure --with-ssl --with-screen=ncursesw --disable-color-style


> AND seeing how to avoid the case where p/linedata overlap might be
> better.

I changed to use memmove() and got expected result.
(no asan2 check yet)

-           strcat(linedata, p);
+           memmove(linedata + line->size, p, plen + 1);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.