Re: switchd: bzero -> memset

2018-04-03 Thread Michael W. Bombardieri
On Tue, Apr 03, 2018 at 10:20:42PM -0600, Theo de Raadt wrote: > Michael W. Bombardieri wrote: > > > Hello, > > > > switchd can just use memset instead of mixing memset with bzero. > > But does the util.c change need to be sync'ed with other tools? > > There are 418 calls to bzero in *bin/*/*c

Re: switchd: bzero -> memset

2018-04-03 Thread Theo de Raadt
Michael W. Bombardieri wrote: > Hello, > > switchd can just use memset instead of mixing memset with bzero. > But does the util.c change need to be sync'ed with other tools? There are 418 calls to bzero in *bin/*/*c bcopy isn't going to be removed from libc, and frankly it is diomatically simp

switchd: bzero -> memset

2018-04-03 Thread Michael W. Bombardieri
Hello, switchd can just use memset instead of mixing memset with bzero. But does the util.c change need to be sync'ed with other tools? - Michael Index: ofp10.c === RCS file: /cvs/src/usr.sbin/switchd/ofp10.c,v retrieving revision