summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2007-12-04 15:47:28 +0100
committerMarcus Brinkmann <mb@g10code.com>2007-12-04 15:47:28 +0100
commit1d282c5938d1d70c522d3bae188bb75ec1475cfe (patch)
tree310b8fa62afd4ba58f449107a8972bb7908a23a9 /tools
parentAllow configuraton of pinentry tooltip. (diff)
downloadgnupg2-1d282c5938d1d70c522d3bae188bb75ec1475cfe.tar.xz
gnupg2-1d282c5938d1d70c522d3bae188bb75ec1475cfe.zip
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.
Diffstat (limited to 'tools')
-rw-r--r--tools/ChangeLog1
-rw-r--r--tools/gpgconf-comp.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog
index 049039248..f38382d7e 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -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>
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 79d686a38..5dc55de76 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -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);
}