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:
Marcus Brinkmann 2007-12-04 14:47:28 +00:00
parent 8c20500a5d
commit 1d282c5938
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,7 @@
* 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.
2007-11-15 Werner Koch <wk@g10code.com>

View File

@ -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, "%s:\n", group? my_percent_escape (group):"");
fprintf (listfp, "%s\n", group? my_percent_escape (group):"");
}
/* 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)
fprintf (listfp, "\"%s", my_percent_escape (value));
putc (':', listfp);
putc ('\n', listfp);
}