Date: Tue, 21 May 2002 18:03:07 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: Alfred Perlstein <bright@mu.org> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, "Andrew R. Reiter" <arr@FreeBSD.org> Subject: Re: cvs commit: src/sys/kern uipc_socket.c Message-ID: <XFMail.20020521180307.jhb@FreeBSD.org> In-Reply-To: <20020521213720.GL54960@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21-May-2002 Alfred Perlstein wrote: > * Andrew R. Reiter <arr@FreeBSD.org> [020521 14:18] wrote: >> arr 2002/05/21 14:18:41 PDT >> >> Modified files: >> sys/kern uipc_socket.c >> Log: >> - OR the flag variable with M_ZERO so that the uma_zalloc() handles the >> zero'ing out of the allocated memory. Also removed the logical bzero >> that followed. > > This is just making something wrong prettier as well as obfuscating > the problem and making the XXX comment not make sense. The XXX already didn't make sense. Why do you prefer explicit bzero() to M_ZERO? -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020521180307.jhb>