Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/common/lib/libprop




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




Home | Main Index | Thread Index | Old Index