In article <21181.1550538...@splode.eterna.com.au>,
matthew green wrote:
>Christos Zoulas writes:
>> In article <20190219003451.093b2f...@cvs.netbsd.org>,
>> matthew green wrote:
>> >-=-=-=-=-=-
>>
>> >+ memcpy(intrnames, inames, MAX_INAME_LENGTH);
>>
>> That should be:
>> memcpy(intrna
Christos Zoulas writes:
> In article <20190219003451.093b2f...@cvs.netbsd.org>,
> matthew green wrote:
> >-=-=-=-=-=-
>
> >+memcpy(intrnames, inames, MAX_INAME_LENGTH);
>
> That should be:
> memcpy(intrnames, inames, sizeof(intrnames));
well.
maybe. but it's not really any better.
In article <20190219003451.093b2f...@cvs.netbsd.org>,
matthew green wrote:
>-=-=-=-=-=-
>+ memcpy(intrnames, inames, MAX_INAME_LENGTH);
That should be:
memcpy(intrnames, inames, sizeof(intrnames));
christos