[PATCH] fdi spec fixes and correct implementation

Doug Goldstein cardoe at gentoo.org
Fri Apr 20 12:28:08 PDT 2007


Danny Kukawka wrote:
> On Donnerstag, 19. April 2007, Doug Goldstein wrote:
>   
>> for fdi matching the "prefix", "prefix_ncase", "suffix", and
>> "suffix_ncase" were missing from the spec. This patch adds them to the
>> spec. Also "double" was never implemented and this patch implements it
>> as well. It also reorders the code/spec to match the same order. 
>>     
>
> Index: b/hald/rule.h
> ===================================================================
> --- a/hald/rule.h       2007-03-07 16:52:19.000000000 -0500
> +++ b/hald/rule.h       2007-04-19 14:56:41.000000000 -0400
> @@ -63,6 +63,7 @@
>         MATCH_INT,
>         MATCH_UINT64,
>         MATCH_BOOL,
> +       MATCH_DOUBLE,
>         MATCH_EXISTS,
>         MATCH_EMPTY,
>         MATCH_ISASCII,
>
> MATCH_DOUBLE [quote=david] ... should be added as last element in match_type
> to preserve binary compatibility with cache files [quote].
>
> ;-)
>
> Danny
>   
Done. Even though technically it doesn't matter because all that happens
is a cache invalidation and it regenerates the cache. I've tested it
here locally and it didn't affect anything.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15_spec_fdi_matching.patch
Type: text/x-patch
Size: 7971 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070420/b964efc5/15_spec_fdi_matching.bin


More information about the hal mailing list