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]>
* Problem:
In lynx2.9.0dev.10, display of some multi-line links is cut off in the middle.
lynx2.9.0dev.9 does not have the problem.

* Actual Result:
lynx https://lists.nongnu.org/archive/html/lynx-dev/2021-10/threads.html

>     * [13][Lynx-dev] Build failures on hppa architectures after update
>       fr

* Expected Result:
>     * [13][Lynx-dev] Build failures on hppa architectures after update
>       from 2.9.0dev.9 to 2.9.0dev.10, Axel Beckert, 2021/10/30

* Fix:
Reverting following change solves the problem.
--- lynx2.9.0dev.9/src/GridText.c	2021-06-30 07:01:12.000000000 +0900
+++ lynx2.9.0dev.10/src/GridText.c	2021-10-25 01:13:59.000000000 +0900
@@ -3006,7 +3005,7 @@
 	    ctrl_chars_on_this_line += utfxtra_on_this_line;
 
 	    /* Add the data to the new line. -FM */
-	    strcat(linedata, p);
+	    for (i = 0; (linedata[i] = p[i]) != '\0'; ++i) ;
 	    line->size = (unsigned short) (line->size + plen);
 	}
     }
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.