[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [platform-testers] texinfo-6.6.90 pretest

From: Gavin Smith
Subject: Re: [platform-testers] texinfo-6.6.90 pretest
Date: Wed, 18 Sep 2019 21:13:10 +0100

On Wed, Sep 18, 2019 at 9:07 PM Hans-Bernhard Bröker
<address@hidden> wrote:
> OTOH if what these calls are supposed to be doing is really is "copy n
> bytes", it would be more honest to replace them by variations of
>         memcpy (dest + strlen(dest), src, n);
> (with some actual book-keeping to replace the repeated determination of
> strlen(dest), obviously).

This may be better although we'd have to check that the final string
remained null-terminated in all instances.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]