diff options
| author | Mike Snitzer <msnitzer@fedoraproject.org> | 2009-05-06 20:01:01 +0000 |
|---|---|---|
| committer | Mike Snitzer <msnitzer@fedoraproject.org> | 2009-05-06 20:01:01 +0000 |
| commit | cbdffc7ea04d181060f56ca3ebf122552b26b51f (patch) | |
| tree | ace6b69d19d52e33207f5e569d4f55415e920d08 /config_space_fix.patch | |
| parent | b3b10f9bcf3c4766676a5a35da7e8fb767130a62 (diff) | |
Updated to latest upstream 0.4.9 code: multipath-tools-090429.tgz (gitdevice-mapper-multipath-0_4_9-1_fc12
commit id: 7395bcda3a218df2eab1617df54628af0dc3456e)
Diffstat (limited to 'config_space_fix.patch')
| -rw-r--r-- | config_space_fix.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/config_space_fix.patch b/config_space_fix.patch deleted file mode 100644 index c8f4b4b..0000000 --- a/config_space_fix.patch +++ /dev/null @@ -1,27 +0,0 @@ -Index: multipath-tools/libmultipath/parser.c -=================================================================== ---- multipath-tools.orig/libmultipath/parser.c -+++ multipath-tools/libmultipath/parser.c -@@ -239,12 +239,20 @@ alloc_strvec(char *string) - in_string = 0; - else - in_string = 1; -+ } else if (!in_string && (*cp == '{' || *cp == '}')) { -+ token = MALLOC(2); - -+ if (!token) -+ goto out; -+ -+ *(token) = *cp; -+ *(token + 1) = '\0'; -+ cp++; - } else { - while ((in_string || - (!isspace((int) *cp) && isascii((int) *cp) && -- *cp != '!' && *cp != '#')) && -- *cp != '\0' && *cp != '"') -+ *cp != '!' && *cp != '#' && *cp != '{' && -+ *cp != '}')) && *cp != '\0' && *cp != '"') - cp++; - strlen = cp - start; - token = MALLOC(strlen + 1); |
