mirror of git://git.gnupg.org/gnupg.git
2004-03-08 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (retrieve_options_from_file): Quote each string in the list, not only the first.
This commit is contained in:
parent
5c457626a8
commit
8cf4e69141
|
@ -1,3 +1,8 @@
|
||||||
|
2004-03-08 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* gpgconf-comp.c (retrieve_options_from_file): Quote each string
|
||||||
|
in the list, not only the first.
|
||||||
|
|
||||||
2004-02-26 Marcus Brinkmann <marcus@g10code.de>
|
2004-02-26 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* gpgconf-comp.c (gc_component_list_options): Do not print empty
|
* gpgconf-comp.c (gc_component_list_options): Do not print empty
|
||||||
|
|
|
@ -1172,11 +1172,11 @@ retrieve_options_from_file (gc_component_t component, gc_backend_t backend)
|
||||||
while (*(end - 1) == ' ' || *(end - 1) == '\t')
|
while (*(end - 1) == ' ' || *(end - 1) == '\t')
|
||||||
end--;
|
end--;
|
||||||
*end = '\0';
|
*end = '\0';
|
||||||
/* FIXME: Oh, no! This is so lame! Use realloc and really
|
/* FIXME: Oh, no! This is so lame! Should use realloc and
|
||||||
append. */
|
really append. */
|
||||||
if (list)
|
if (list)
|
||||||
{
|
{
|
||||||
new_list = xasprintf ("%s,%s", list, percent_escape (start));
|
new_list = xasprintf ("%s,\"%s", list, percent_escape (start));
|
||||||
xfree (list);
|
xfree (list);
|
||||||
list = new_list;
|
list = new_list;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue