[PATCH] add new fdi match attribute contains_not for strlist

David Zeuthen david at fubar.dk
Tue Mar 6 11:30:58 PST 2007


On Tue, 2007-03-06 at 17:20 +0100, Danny Kukawka wrote:
> On Mittwoch, 28. Februar 2007, David Zeuthen wrote:
> > On Wed, 2007-02-28 at 19:41 +0100, Danny Kukawka wrote:
> > > >  - this could be useful for strings too so perhaps add it?
> > > 
> > > I can take a look at this too. Btw. I would like to add more such rules to 
> > > allow at least something like if/else in the files. 
> > 
> > Yeah, that sounds useful. 
> 
> New version of the patch (including support for string properties) attached.

Nitpicking, but

> +  if (value != NULL && haystack != NULL && strstr (haystack, value))

Should be strstr != 0. Apart from that it looks good. Thanks.

     David




More information about the hal mailing list