mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
2007-12-04 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_list_components): Do not print a trailing semi-colon to ensure forward compatibility, as this would indicate another empty field. (gc_process_gpgconf_conf): Likewise.
This commit is contained in:
parent
8c20500a5d
commit
1d282c5938
@ -3,6 +3,7 @@
|
|||||||
* gpgconf-comp.c (gc_component_list_components): Do not print a
|
* gpgconf-comp.c (gc_component_list_components): Do not print a
|
||||||
trailing semi-colon to ensure forward compatibility, as this would
|
trailing semi-colon to ensure forward compatibility, as this would
|
||||||
indicate another empty field.
|
indicate another empty field.
|
||||||
|
(gc_process_gpgconf_conf): Likewise.
|
||||||
|
|
||||||
2007-11-15 Werner Koch <wk@g10code.com>
|
2007-11-15 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
@ -3315,7 +3315,7 @@ gc_process_gpgconf_conf (const char *fname_arg, int update, int defaults,
|
|||||||
}
|
}
|
||||||
|
|
||||||
fprintf (listfp, "k:%s:", my_percent_escape (key));
|
fprintf (listfp, "k:%s:", my_percent_escape (key));
|
||||||
fprintf (listfp, "%s:\n", group? my_percent_escape (group):"");
|
fprintf (listfp, "%s\n", group? my_percent_escape (group):"");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* All other lines are rule records. */
|
/* All other lines are rule records. */
|
||||||
@ -3326,7 +3326,6 @@ gc_process_gpgconf_conf (const char *fname_arg, int update, int defaults,
|
|||||||
if (value != empty)
|
if (value != empty)
|
||||||
fprintf (listfp, "\"%s", my_percent_escape (value));
|
fprintf (listfp, "\"%s", my_percent_escape (value));
|
||||||
|
|
||||||
putc (':', listfp);
|
|
||||||
putc ('\n', listfp);
|
putc ('\n', listfp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user