Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2000 14:08:23 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Brian Fundakowski Feldman <green@FreeBSD.ORG>
Cc:        Kris Kennaway <kris@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: sort(1) broken? 
Message-ID:  <65563.965045303@axl.ops.uunet.co.za>
In-Reply-To: Your message of "Mon, 31 Jul 2000 07:28:09 -0400." <Pine.BSF.4.21.0007310713560.71976-100000@green.dyndns.org> 

next in thread | previous in thread | raw e-mail | index | archive | help



On Mon, 31 Jul 2000 07:28:09 -0400, Brian Fundakowski Feldman wrote:

>  		    key = (struct keyfield *)
>  		      xmalloc (sizeof (struct keyfield));
> +		    bzero(key, sizeof(*key));

Wouldn't a calloc() be exactly what's required here?

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65563.965045303>