[Gnucash-changes] Patch from Chris Shoemaker to add the missing semicolon to the end of

David Hampton hampton at cvs.gnucash.org
Fri Oct 14 00:45:11 EDT 2005


Log Message:
-----------
Patch from Chris Shoemaker to add the missing semicolon to the end of
some trace invocations to make them look like normal C code.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash:
        ChangeLog
    gnucash/src/backend/postgres:
        PostgresBackend.c
        checkpoint.c
        events.c
    gnucash/src/business/business-core/file:
        gnc-bill-term-xml-v2.c
        gnc-tax-table-xml-v2.c
    gnucash/src/engine:
        Scrub.c
        gnc-hooks.c
    gnucash/src/import-export:
        import-backend.c

Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1487.2.334
retrieving revision 1.1487.2.335
diff -LChangeLog -LChangeLog -u -r1.1487.2.334 -r1.1487.2.335
--- ChangeLog
+++ ChangeLog
@@ -1,5 +1,19 @@
 2005-10-14  David Hampton  <hampton at employees.org>
 
+	* src/backend/postgres/PostgresBackend.c:
+	* src/backend/postgres/checkpoint.c:
+	* src/backend/postgres/events.c:
+	* src/business/business-core/file/gnc-bill-term-xml-v2.c:
+	* src/business/business-core/file/gnc-tax-table-xml-v2.c:
+	* src/engine/Scrub.c:
+	* src/engine/gnc-hooks.c:
+	* src/import-export/import-backend.c:Patch from Chris Shoemaker to
+	add the missing semicolon to the end of some trace invocations to
+	make them look like normal C code.
+
+	* src/engine/gnc-trace.h: Patch from Chris Shoemaker to swallow
+	the semicolon on the end of the tracing macros.
+
 	* GNOME2_STATUS:
 	* HACKING:
 	* src/app-utils/config-var.scm:
Index: gnc-bill-term-xml-v2.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/business/business-core/file/gnc-bill-term-xml-v2.c,v
retrieving revision 1.3.4.8
retrieving revision 1.3.4.9
diff -Lsrc/business/business-core/file/gnc-bill-term-xml-v2.c -Lsrc/business/business-core/file/gnc-bill-term-xml-v2.c -u -r1.3.4.8 -r1.3.4.9
--- src/business/business-core/file/gnc-bill-term-xml-v2.c
+++ src/business/business-core/file/gnc-bill-term-xml-v2.c
@@ -657,7 +657,7 @@
   if (count != gncBillTermGetRefcount(term) && !gncBillTermGetInvisible(term)) {
     PWARN("Fixing refcount on billterm %s (%" G_GINT64_FORMAT " -> %d)\n",
 	  guid_to_string(qof_instance_get_guid(QOF_INSTANCE(term))),
-	  gncBillTermGetRefcount(term), count)
+	  gncBillTermGetRefcount(term), count);
       gncBillTermSetRefcount(term, count);
   }
 }
Index: gnc-tax-table-xml-v2.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/business/business-core/file/gnc-tax-table-xml-v2.c,v
retrieving revision 1.3.4.9
retrieving revision 1.3.4.10
diff -Lsrc/business/business-core/file/gnc-tax-table-xml-v2.c -Lsrc/business/business-core/file/gnc-tax-table-xml-v2.c -u -r1.3.4.9 -r1.3.4.10
--- src/business/business-core/file/gnc-tax-table-xml-v2.c
+++ src/business/business-core/file/gnc-tax-table-xml-v2.c
@@ -618,7 +618,7 @@
   if (count != gncTaxTableGetRefcount(table) && !gncTaxTableGetInvisible(table)) {
     PWARN("Fixing refcount on taxtable %s (%" G_GINT64_FORMAT " -> %d)\n",
 	  guid_to_string(qof_instance_get_guid(QOF_INSTANCE(table))),
-	  gncTaxTableGetRefcount(table), count)
+	  gncTaxTableGetRefcount(table), count);
       gncTaxTableSetRefcount(table, count);
   }
 }
Index: Scrub.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/Scrub.c,v
retrieving revision 1.43.4.7
retrieving revision 1.43.4.8
diff -Lsrc/engine/Scrub.c -Lsrc/engine/Scrub.c -u -r1.43.4.7 -r1.43.4.8
--- src/engine/Scrub.c
+++ src/engine/Scrub.c
@@ -823,7 +823,7 @@
   ENTER(" ");
 
   if (!group || !table) {
-    LEAVE("Oops")
+    LEAVE("Oops");
     return;
   }
 
Index: gnc-hooks.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/Attic/gnc-hooks.c,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -Lsrc/engine/gnc-hooks.c -Lsrc/engine/gnc-hooks.c -u -r1.1.2.11 -r1.1.2.12
--- src/engine/gnc-hooks.c
+++ src/engine/gnc-hooks.c
@@ -56,7 +56,7 @@
   g_return_val_if_fail(num_args <= 1, NULL);
   g_return_val_if_fail(desc != NULL, NULL);
 
-  ENTER("name %s", name)
+  ENTER("name %s", name);
   if (gnc_hooks_list == NULL) {
     gnc_hooks_list = g_hash_table_new(g_str_hash, g_str_equal);
 
Index: checkpoint.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/backend/postgres/checkpoint.c,v
retrieving revision 1.9.4.5
retrieving revision 1.9.4.6
diff -Lsrc/backend/postgres/checkpoint.c -Lsrc/backend/postgres/checkpoint.c -u -r1.9.4.5 -r1.9.4.6
--- src/backend/postgres/checkpoint.c
+++ src/backend/postgres/checkpoint.c
@@ -471,7 +471,7 @@
       PINFO("%s balance to %s baln=%" G_GINT64_FORMAT "/%" G_GINT64_FORMAT " clr=%" G_GINT64_FORMAT "/%" G_GINT64_FORMAT " rcn=%" G_GINT64_FORMAT "/%" G_GINT64_FORMAT, 
         xaccAccountGetDescription (acc), buf,
         b, deno, cl_b, deno, rec_b, deno);
-      })
+     });
 
    /* add up loose entries since the checkpoint */
    pgendAccountGetPartialBalance (be, &chk);
@@ -493,7 +493,7 @@
       LEAVE("be=%p %s %s baln=%" G_GINT64_FORMAT "/%" G_GINT64_FORMAT " clr=%" G_GINT64_FORMAT "/%" G_GINT64_FORMAT " rcn=%" G_GINT64_FORMAT "/%" G_GINT64_FORMAT, be, 
         xaccAccountGetDescription (acc), buf,
         b, deno, cl_b, deno, rec_b, deno);
-      })
+     });
 }
 
 /* ============================================================= */
Index: PostgresBackend.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/backend/postgres/PostgresBackend.c,v
retrieving revision 1.43.4.8
retrieving revision 1.43.4.9
diff -Lsrc/backend/postgres/PostgresBackend.c -Lsrc/backend/postgres/PostgresBackend.c -u -r1.43.4.8 -r1.43.4.9
--- src/backend/postgres/PostgresBackend.c
+++ src/backend/postgres/PostgresBackend.c
@@ -2533,7 +2533,7 @@
    be = g_new0 (PGBackend, 1);
    pgendInit (be);
 
-   LEAVE(" ")
+   LEAVE(" ");
    return (QofBackend *) be;
 }
 
Index: events.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/backend/postgres/events.c,v
retrieving revision 1.13.4.4
retrieving revision 1.13.4.5
diff -Lsrc/backend/postgres/events.c -Lsrc/backend/postgres/events.c -u -r1.13.4.4 -r1.13.4.5
--- src/backend/postgres/events.c
+++ src/backend/postgres/events.c
@@ -122,7 +122,7 @@
       } 
       else
       {
-         PERR ("unexpected notify %s", note->relname)
+         PERR ("unexpected notify %s", note->relname);
       }
 
       /* get the next one */
Index: import-backend.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/import-export/import-backend.c,v
retrieving revision 1.19.2.9
retrieving revision 1.19.2.10
diff -Lsrc/import-export/import-backend.c -Lsrc/import-export/import-backend.c -u -r1.19.2.9 -r1.19.2.10
--- src/import-export/import-backend.c
+++ src/import-export/import-backend.c
@@ -898,7 +898,7 @@
 	  if(gnc_import_MatchInfo_get_split 
 	     (gnc_import_TransInfo_get_selected_match (trans_info)) ==NULL)
 	    {
-	      PERR("The split I am trying to reconcile is NULL, shouldn't happen!")
+                PERR("The split I am trying to reconcile is NULL, shouldn't happen!");
 	    }
 	  else
 	    {
@@ -939,7 +939,7 @@
 	    }
 	  break;
 	case GNCImport_EDIT:
-	    PERR("EDIT action is UNSUPPORTED!")
+	    PERR("EDIT action is UNSUPPORTED!");
 	  break;
 	default:
 	  DEBUG("Invalid GNCImportAction for this imported transaction.");


More information about the gnucash-changes mailing list