summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2007-12-04 00:39:49 +0100
committerMarcus Brinkmann <mb@g10code.com>2007-12-04 00:39:49 +0100
commita9b7f3356ba3077c4eb67da6c5d2ecbceba308e1 (patch)
tree3832240491f6e859e8e40d7176e6e57b0d0d68f3
parentUpdated. (diff)
downloadgnupg2-a9b7f3356ba3077c4eb67da6c5d2ecbceba308e1.tar.xz
gnupg2-a9b7f3356ba3077c4eb67da6c5d2ecbceba308e1.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.
-rw-r--r--tools/ChangeLog6
-rw-r--r--tools/gpgconf-comp.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog
index 2775c135a..049039248 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2007-11-15 Werner Koch <wk@g10code.com>
* gpg-connect-agent.c (start_agent): Adjust changed
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 3cde74574..79d686a38 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -1176,7 +1176,7 @@ gc_component_list_components (FILE *out)
desc = my_dgettext (gc_component[component].desc_domain, desc);
fprintf (out, "%s:%s:",
gc_component[component].name, my_percent_escape (desc));
- fprintf (out, "%s:\n", my_percent_escape (pgmname));
+ fprintf (out, "%s\n", my_percent_escape (pgmname));
}
}
}