Subject: Re: CVS commit: src/common/lib/libprop
To: None <simonb@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 05/07/2006 10:21:35
On May 6, 2006, at 11:25 PM, Simon Burge wrote:

> In _prop_dictionary_alloc(), explicitly set pd->pd_flags to zero
> instead of leaving random garbage in there.
> Should we just use "memset(pd, 0, sizeof(*pd));" instead?

No, a memset() would be wrong, because it could undo things done in  
the _prop_object_init() call.

> Fixes boot problems on evbppc/WALNUT with new proplib.

Glad to see it fixes the problem.

-- thorpej