This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix p{readv,writev}{64} consolidation implementation
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Pedro Alves <palves at redhat dot com>, libc-alpha at sourceware dot org
- Date: Wed, 15 Jun 2016 10:32:09 -0300
- Subject: Re: [PATCH] Fix p{readv,writev}{64} consolidation implementation
- Authentication-results: sourceware.org; auth=none
- References: <1465941275-3459-1-git-send-email-adhemerval dot zanella at linaro dot org> <cd00c370-0828-d077-cc91-565f63204bc2 at redhat dot com>
On 15/06/2016 09:59, Pedro Alves wrote:
> On 06/14/2016 10:54 PM, Adhemerval Zanella wrote:
>> +
>> + char buf1[32];
>> + char buf2[64];
>> +
>> + memset (buf1, 0x00, sizeof buf1);
>> + memset (buf1, 0xca, sizeof buf1);
>> +
>
> Did you mean to memset buf2 in the second memset call?
>
> Thanks,
> Pedro Alves
>
Oops yes, I will change that.