[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/common
On Thu, Jan 20, 2011 at 01:16:39PM +0000, David Laight wrote:
> On Thu, Jan 20, 2011 at 11:17:59AM +0000, Manuel Bouyer wrote:
> > Module Name: src
> > Committed By: bouyer
> > Date: Thu Jan 20 11:17:59 UTC 2011
> > Modified Files:
> > src/common/include/prop: prop_array.h prop_dictionary.h
> > src/common/lib/libprop: prop_kern.c
> > Log Message:
> > prop_*_copyout takes an object as second parameter, not a pointer to object.
> I hope an 'object' is actually a pointer?
> Or is the code passing structures by value ?
Yes, object is a pointer.
Most proplib functions takes an object; the object * here was a cut'n'paste
mistake from the prop_*_copyin code (and also a mistake of not commiting the
up to date patch :)
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |