On (09/24/08 07:53), James Carlson wrote:
> Sowmini.Varadhan at Sun.COM writes:
> > > for 'field' in (all fields in datalink.conf)
> > > if 'field' not in (known field names)
> > > then 'field' is a private property
> > 
> > ? If yes, the only modification I would suggest is 
> > 
> >   for 'field' in (all fields in datalink.conf)
> >   if 'field' not in (known field names) && 'field' starts with "_"
> >     then 'field' is a private property
> > 
> > isn't that sufficient?
> 
> I think it's more like:
> 
>   if 'field' in (known field names)
>   then 'field' is not a linkprop
>   else
>     if 'field' starts with "_"
>     then 'field' is a private property

that would match the pre-uv version of this code (which processed
the file and tried to match it with known field names, as opposed
the post-uv version that does the equivalent of a grep for the known
property names into the dlmgmtd repository). I agree that Jim's proposal
is conceptually simpler and cleaner, but not sure if the current model
creates complications in implementing this?

--Sowmini


Reply via email to