This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix p{readv,writev}{64} consolidation implementation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]