[svn] GnuPG - r4640 - trunk/tools

svn author marcus cvs at cvs.gnupg.org
Tue Dec 4 15:47:28 CET 2007


Author: marcus
Date: 2007-12-04 15:47:28 +0100 (Tue, 04 Dec 2007)
New Revision: 4640

Modified:
   trunk/tools/ChangeLog
   trunk/tools/gpgconf-comp.c
Log:
2007-12-04  Marcus Brinkmann  <marcus at 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.


Modified: trunk/tools/ChangeLog
===================================================================
--- trunk/tools/ChangeLog	2007-12-04 11:23:31 UTC (rev 4639)
+++ trunk/tools/ChangeLog	2007-12-04 14:47:28 UTC (rev 4640)
@@ -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 at g10code.com>
 

Modified: trunk/tools/gpgconf-comp.c
===================================================================
--- trunk/tools/gpgconf-comp.c	2007-12-04 11:23:31 UTC (rev 4639)
+++ trunk/tools/gpgconf-comp.c	2007-12-04 14:47:28 UTC (rev 4640)
@@ -3315,7 +3315,7 @@
                 }                    
               
               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 @@
           if (value != empty)
             fprintf (listfp, "\"%s", my_percent_escape (value));
           
-          putc (':', listfp);
           putc ('\n', listfp);
         }
 




More information about the Gnupg-commits mailing list