aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2004-03-08 17:59:24 +0000
committerMarcus Brinkmann <[email protected]>2004-03-08 17:59:24 +0000
commit8cf4e69141bb11d8fb956d31752293e7bfb5cbcf (patch)
tree30c852c74933238358515ca72de7e4f0ef9ef971
parentFix buglet. (diff)
downloadgnupg-8cf4e69141bb11d8fb956d31752293e7bfb5cbcf.tar.gz
gnupg-8cf4e69141bb11d8fb956d31752293e7bfb5cbcf.zip
2004-03-08 Marcus Brinkmann <[email protected]>
* gpgconf-comp.c (retrieve_options_from_file): Quote each string in the list, not only the first.
Diffstat (limited to '')
-rw-r--r--tools/ChangeLog5
-rw-r--r--tools/gpgconf-comp.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog
index ba5df4765..9acd30f48 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-08 Marcus Brinkmann <[email protected]>
+
+ * gpgconf-comp.c (retrieve_options_from_file): Quote each string
+ in the list, not only the first.
+
2004-02-26 Marcus Brinkmann <[email protected]>
* gpgconf-comp.c (gc_component_list_options): Do not print empty
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 5dda4f306..e483675f8 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -1172,11 +1172,11 @@ retrieve_options_from_file (gc_component_t component, gc_backend_t backend)
while (*(end - 1) == ' ' || *(end - 1) == '\t')
end--;
*end = '\0';
- /* FIXME: Oh, no! This is so lame! Use realloc and really
- append. */
+ /* FIXME: Oh, no! This is so lame! Should use realloc and
+ really append. */
if (list)
{
- new_list = xasprintf ("%s,%s", list, percent_escape (start));
+ new_list = xasprintf ("%s,\"%s", list, percent_escape (start));
xfree (list);
list = new_list;
}