Subject: Re: CVS commit: basesrc
To: None <itojun@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 02/06/2001 14:23:56
Jun-ichiro itojun Hagino wrote:

> Module Name:	basesrc
> Committed By:	itojun
> Date:		Mon Feb  5 14:25:34 UTC 2001
> 
> Modified Files:
> 
> 	basesrc/usr.bin/sort: fsort.c
> 
> Log Message:
> 
> make sure to initialize malloc'ed region.  PR 12138.  found by malloc.conf=AJ

Wouldn't this be better/cleaner as just a calloc() instead of a
malloc()/memset() pair?

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/