[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Acl-devel] [PATCH] attr: Replace bzero with memset
From: |
Andreas Grünbacher |
Subject: |
Re: [Acl-devel] [PATCH] attr: Replace bzero with memset |
Date: |
Mon, 12 Aug 2019 10:44:23 +0200 |
Am Mo., 12. Aug. 2019 um 08:46 Uhr schrieb Christoph Hellwig
<address@hidden>:
> On Sun, Aug 11, 2019 at 04:17:11PM -0700, Rosen Penev wrote:
> > - bzero((char *)&cursor, sizeof(cursor));
> > + memset((char *)&cursor, 0, sizeof(cursor));
>
> You probably want to drop the cast here as well.
Applied with the above change, and with references to bzero removed in
a comment in include/attributes.h:
http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=0ce120a140dadaa56875af2efc66ff805d37925b
Thanks,
Andreas