[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Tomasz Kojm tkojm at clamav.net
Sun Apr 4 01:26:17 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 1583913898b18676ddfa1576198f1e22792183ac
Author: Tomasz Kojm <tkojm at clamav.net>
Date:   Wed Mar 24 17:40:56 2010 +0100

    fix C++ comments

diff --git a/libclamav/bytecode.c b/libclamav/bytecode.c
index dfa8937..a8af137 100644
--- a/libclamav/bytecode.c
+++ b/libclamav/bytecode.c
@@ -1629,7 +1629,7 @@ static int cli_bytecode_prepare_interpreter(struct cli_bc *bc)
 	    assert(align);
 	    bcfunc->numBytes  = (bcfunc->numBytes + align-1)&(~(align-1));
 	    map[j] = bcfunc->numBytes;
-	    //printf("%d -> %d, %u\n", j, map[j], typesize(bc, ty));
+	    /* printf("%d -> %d, %u\n", j, map[j], typesize(bc, ty)); */
 	    bcfunc->numBytes += typesize(bc, ty);
 	}
 	bcfunc->numBytes = (bcfunc->numBytes + 7)&~7;
diff --git a/libclamav/filtering.c b/libclamav/filtering.c
index f6e10d6..7da03bb 100644
--- a/libclamav/filtering.c
+++ b/libclamav/filtering.c
@@ -448,7 +448,7 @@ int  filter_add_acpatt(struct filter *m, const struct cli_ac_patt *pat)
 				break;
 			case CLI_MATCH_SPECIAL:
 				assert(pat->special_table);
-//				assert(altcnt < pat->alt);
+				/* assert(altcnt < pat->alt); */
 				assert(pat->special_table[altcnt]);
 				switch (pat->special_table[altcnt++]->type) {
 				    case 1: /* ALT_CHAR */
diff --git a/libclamav/perflogging.h b/libclamav/perflogging.h
index 9669e74..6220c81 100644
--- a/libclamav/perflogging.h
+++ b/libclamav/perflogging.h
@@ -26,7 +26,7 @@
  * statistics, such as which tries are used, efficiency of filtering and so on.
  * it must have as little overhead as possible */
 
-//#define CLI_PERF_LOGGING
+/* #define CLI_PERF_LOGGING */
 #ifdef CLI_PERF_LOGGING
 
 #ifndef __GNUC__

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list