mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-11 22:01:08 +02:00
2004-03-12 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_change_options): Set the filenames of the option's backend, not of the component.
This commit is contained in:
parent
7ad15ec24a
commit
8927b55c28
@ -1,3 +1,8 @@
|
|||||||
|
2004-03-12 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* gpgconf-comp.c (gc_component_change_options): Set the filenames
|
||||||
|
of the option's backend, not of the component.
|
||||||
|
|
||||||
2004-03-09 Werner Koch <wk@gnupg.org>
|
2004-03-09 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* gpgconf-comp.c [_riscos_]: Removed special code for RISC OS; we
|
* gpgconf-comp.c [_riscos_]: Removed special code for RISC OS; we
|
||||||
|
@ -2029,7 +2029,8 @@ gc_component_change_options (int component, FILE *in)
|
|||||||
{
|
{
|
||||||
/* Go on if we have already seen this backend, or if there is
|
/* Go on if we have already seen this backend, or if there is
|
||||||
nothing to do. */
|
nothing to do. */
|
||||||
if (src_pathname[option->backend] || !(option->new_flags || option->new_value))
|
if (src_pathname[option->backend]
|
||||||
|
|| !(option->new_flags || option->new_value))
|
||||||
{
|
{
|
||||||
option++;
|
option++;
|
||||||
continue;
|
continue;
|
||||||
@ -2037,14 +2038,14 @@ gc_component_change_options (int component, FILE *in)
|
|||||||
|
|
||||||
if (gc_backend[option->backend].program)
|
if (gc_backend[option->backend].program)
|
||||||
err = change_options_program (component, option->backend,
|
err = change_options_program (component, option->backend,
|
||||||
&src_pathname[component],
|
&src_pathname[option->backend],
|
||||||
&dest_pathname[component],
|
&dest_pathname[option->backend],
|
||||||
&orig_pathname[component]);
|
&orig_pathname[option->backend]);
|
||||||
else
|
else
|
||||||
err = change_options_file (component, option->backend,
|
err = change_options_file (component, option->backend,
|
||||||
&src_pathname[component],
|
&src_pathname[option->backend],
|
||||||
&dest_pathname[component],
|
&dest_pathname[option->backend],
|
||||||
&orig_pathname[component]);
|
&orig_pathname[option->backend]);
|
||||||
|
|
||||||
if (err)
|
if (err)
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user