[PATCH][1/2] fix indirections in fdi files

Danny Kukawka danny.kukawka at web.de
Fri Aug 24 21:11:31 PDT 2007


Hi,

this patch fixes indirections (e.g. @info.parent:foo.bar) in <merge>, 
<prepend>, <append> and <addset> merging fdi-file directives to work as 
already described in the spec to allow e.g. such lines:

<merge key="@info.parent:foo.bar" type="string">test</merge>
<merge key="@info.parent:foo.bar" 
type="copy_property">@storage.originating_device:foo.bar</merge>

This patch also aggregate the code for merging rule types RULE_APPEND
and RULE_PREPEND since they currently contain nearly the same code.

Please review.

Danny

 device_info.c |   85 +++++++++++++++++++++++++-----------------------
 1 file changed, 46 insertions(+), 39 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-MERGE_indirections.diff
Type: text/x-diff
Size: 4140 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070825/515daa38/attachment.diff 


More information about the hal mailing list