hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Mon Nov 5 10:44:22 PST 2007


 hald/create_cache.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4a75be3cee0cc71b694296bdc679ed0578fabf4a
Author: Frederic Crozat <fcrozat at mandriva.com>
Date:   Mon Nov 5 19:44:14 2007 +0100

    fix for int_outof
    
    I discovered a bug in int_outof implementation, which wasn't working
     at all and I fixed it while discussing with David over IRC.
    
    But it seems my patch never got committed, Here it is

diff --git a/hald/create_cache.c b/hald/create_cache.c
index 0250456..384ed6a 100644
--- a/hald/create_cache.c
+++ b/hald/create_cache.c
@@ -142,7 +142,7 @@ get_match_type(const char *str)
 	if (strcmp (str, "contains_outof") == 0)
 		return MATCH_CONTAINS_OUTOF;
 	if (strcmp (str, "int_outof") == 0)
-		return MATCH_CONTAINS_OUTOF;
+		return MATCH_INT_OUTOF;
 	if (strcmp (str, "prefix_outof") == 0)
 		return MATCH_PREFIX_OUTOF;
 	if (strcmp (str, "string_outof") == 0)


More information about the hal-commit mailing list