diff options
author | Esteban Carnevale <alfplayer@mailoo.org> | 2014-12-15 20:43:32 -0300 |
---|---|---|
committer | Esteban Carnevale <alfplayer@mailoo.org> | 2014-12-15 20:44:32 -0300 |
commit | 93dd217e948a8120899d72879def905500a8e4ea (patch) | |
tree | 8f088d48d0c772e9d576aa5feece78291fbba905 /pcr/expac-relative/0002-conf-always-trim-the-key-name.patch | |
parent | 17db0388002c3ee495c5e64a6adbc37ab593b508 (diff) | |
download | abslibre-93dd217e948a8120899d72879def905500a8e4ea.tar.gz abslibre-93dd217e948a8120899d72879def905500a8e4ea.tar.bz2 abslibre-93dd217e948a8120899d72879def905500a8e4ea.zip |
expac-relative-4-2.parabola1: updating version
Diffstat (limited to 'pcr/expac-relative/0002-conf-always-trim-the-key-name.patch')
-rw-r--r-- | pcr/expac-relative/0002-conf-always-trim-the-key-name.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/expac-relative/0002-conf-always-trim-the-key-name.patch b/pcr/expac-relative/0002-conf-always-trim-the-key-name.patch new file mode 100644 index 000000000..c9140a38c --- /dev/null +++ b/pcr/expac-relative/0002-conf-always-trim-the-key-name.patch @@ -0,0 +1,30 @@ +From d4ab6ef08723c2c47802fd56222bf6105919ec3b Mon Sep 17 00:00:00 2001 +From: Dave Reisner <dreisner@archlinux.org> +Date: Thu, 27 Nov 2014 21:55:17 -0500 +Subject: [PATCH] conf: always trim the key name + +--- + conf.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/conf.c b/conf.c +index 96e4d60..aef4cbf 100644 +--- a/conf.c ++++ b/conf.c +@@ -155,12 +155,11 @@ static int parse_one_file(config_t *config, const char *filename, char **section + + strsep(&val, "="); + strtrim(line); ++ strtrim(val); + + if(strcmp(line, "Include") == 0) { + int k; + +- strtrim(val); +- + k = parse_include(config, val, section); + if(k < 0) { + return k; +-- +2.1.3 + |