Annotation of /trunk/hal/patches/hal-0.5.10-fix-for-int_outof.patch
Parent Directory | Revision Log
Revision 597 -
(hide annotations)
(download)
Mon May 19 19:05:19 2008 UTC (16 years, 4 months ago) by niro
File size: 946 byte(s)
Mon May 19 19:05:19 2008 UTC (16 years, 4 months ago) by niro
File size: 946 byte(s)
-gentoo patches
1 | niro | 597 | From dd590b60828c4fdae14b9ca087946b6fc0812860 Mon Sep 17 00:00:00 2001 |
2 | From: Frederic Crozat <fcrozat@mandriva.com> | ||
3 | Date: Mon, 5 Nov 2007 19:44:14 +0100 | ||
4 | Subject: [PATCH] fix for int_outof | ||
5 | |||
6 | I discovered a bug in int_outof implementation, which wasn't working | ||
7 | at all and I fixed it while discussing with David over IRC. | ||
8 | |||
9 | But it seems my patch never got committed, Here it is | ||
10 | --- | ||
11 | hald/create_cache.c | 2 +- | ||
12 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
13 | |||
14 | diff --git a/hald/create_cache.c b/hald/create_cache.c | ||
15 | index 0250456..384ed6a 100644 | ||
16 | --- a/hald/create_cache.c | ||
17 | +++ b/hald/create_cache.c | ||
18 | @@ -142,7 +142,7 @@ get_match_type(const char *str) | ||
19 | if (strcmp (str, "contains_outof") == 0) | ||
20 | return MATCH_CONTAINS_OUTOF; | ||
21 | if (strcmp (str, "int_outof") == 0) | ||
22 | - return MATCH_CONTAINS_OUTOF; | ||
23 | + return MATCH_INT_OUTOF; | ||
24 | if (strcmp (str, "prefix_outof") == 0) | ||
25 | return MATCH_PREFIX_OUTOF; | ||
26 | if (strcmp (str, "string_outof") == 0) | ||
27 | -- | ||
28 | 1.5.3.7 | ||
29 |