mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
2004-02-26 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (retrieve_options_from_program): Remove broken string handling.
This commit is contained in:
parent
aa7a4c1aec
commit
bfd5ed026c
@ -1,5 +1,8 @@
|
|||||||
2004-02-26 Marcus Brinkmann <marcus@g10code.de>
|
2004-02-26 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* gpgconf-comp.c (retrieve_options_from_program): Remove broken
|
||||||
|
string handling.
|
||||||
|
|
||||||
* gpgconf-comp.c (change_options_program): Support all types of
|
* gpgconf-comp.c (change_options_program): Support all types of
|
||||||
options, including list types.
|
options, including list types.
|
||||||
|
|
||||||
|
@ -1084,12 +1084,6 @@ retrieve_options_from_program (gc_component_t component, gc_backend_t backend)
|
|||||||
{
|
{
|
||||||
char *opt_val = opt_value;
|
char *opt_val = opt_value;
|
||||||
|
|
||||||
if (gc_arg_type[option->arg_type].fallback
|
|
||||||
== GC_ARG_TYPE_STRING)
|
|
||||||
opt_val++;
|
|
||||||
|
|
||||||
/* FIXME. For type none arguments, this is
|
|
||||||
wrong. */
|
|
||||||
option->value = xasprintf ("%s,%s", option->value,
|
option->value = xasprintf ("%s,%s", option->value,
|
||||||
opt_val);
|
opt_val);
|
||||||
xfree (opt_value);
|
xfree (opt_value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user