[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:22:56 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit fc8d26a18765526f06d9ffaae2ae6bd4c454d0a3
Author: Tomasz Kojm <tkojm at clamav.net>
Date:   Tue Mar 16 12:18:08 2010 +0100

    allow sigtool use a different flevel for db building purposes

diff --git a/libclamav/others.h b/libclamav/others.h
index 6a7140c..44480e3 100644
--- a/libclamav/others.h
+++ b/libclamav/others.h
@@ -55,6 +55,7 @@
 
 #define CL_FLEVEL 50
 #define CL_FLEVEL_DCONF	CL_FLEVEL
+#define CL_FLEVEL_SIGTOOL CL_FLEVEL
 
 extern uint8_t cli_debug_flag;
 
diff --git a/sigtool/sigtool.c b/sigtool/sigtool.c
index 2a18348..8f8de5d 100644
--- a/sigtool/sigtool.c
+++ b/sigtool/sigtool.c
@@ -67,6 +67,7 @@
 #include "libclamav/default.h"
 #include "libclamav/fmap.h"
 #include "libclamav/readdb.h"
+#include "libclamav/others.h"
 
 #define MAX_DEL_LOOKAHEAD   200
 
@@ -795,7 +796,7 @@ static int build(const struct optstruct *opts)
 	    return -1;
 	}
     } else {
-	fl = cl_retflevel();
+	fl = CL_FLEVEL_SIGTOOL;
     }
     sprintf(header + strlen(header), "%u:", fl);
 

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list