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

aCaB acab at clamav.net
Sun Apr 4 01:06:00 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit b705e8d71252833cd16dd1a2c9495db082568956
Author: aCaB <acab at clamav.net>
Date:   Fri Sep 25 15:16:21 2009 +0200

    merge win32 patches from sherpya

diff --git a/ChangeLog b/ChangeLog
index 7510da1..8c01fe1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Fri Sep 25 15:13:25 CEST 2009 (acab)
+------------------------------------
+ * sigtool/vba.c: s/cli_errmsg/logg/
+ * shared/misc.h: in_addr_t is now already declared
+ * libclamav/special.c: do not include netinet/in.h on win32
+ All the patches from Gianluigi Tiesi <sherpya*netfarm.it>
+
 Fri Sep 25 15:09:02 CEST 2009 (acab)
 ------------------------------------
  * clamav-milter/clamav.milter.c: remove debug printf
diff --git a/libclamav/special.c b/libclamav/special.c
index c713542..1dbba75 100644
--- a/libclamav/special.c
+++ b/libclamav/special.c
@@ -30,7 +30,9 @@
 #endif
 #include <string.h>
 #include <ctype.h>
+#ifndef _WIN32
 #include <netinet/in.h>
+#endif
 #include "clamav.h"
 #include "others.h"
 #include "cltypes.h"
diff --git a/shared/misc.h b/shared/misc.h
index 87d1ee4..61ef62e 100644
--- a/shared/misc.h
+++ b/shared/misc.h
@@ -36,10 +36,6 @@
 # endif
 #endif
 
-#ifndef HAVE_IN_ADDR_T
-typedef unsigned        int     in_addr_t;
-#endif
-
 #include <limits.h>
 
 #ifndef PATH_MAX
diff --git a/sigtool/vba.c b/sigtool/vba.c
index 143c637..f0edeb2 100644
--- a/sigtool/vba.c
+++ b/sigtool/vba.c
@@ -36,6 +36,7 @@
 #include "libclamav/others.h"
 #include "libclamav/cltypes.h"
 #include "libclamav/ole2_extract.h"
+#include "shared/output.h"
 
 typedef struct mac_token_tag
 {
@@ -1022,7 +1023,7 @@ static int sigtool_scandir (const char *dirname, int hex_output)
 	    }
 	}
     } else {
-	cli_errmsg ("Can't open directory %s.\n", dirname);
+	logg("!Can't open directory %s.\n", dirname);
 	return CL_EOPEN;
     }
 
@@ -1139,7 +1140,7 @@ int sigtool_vba_scandir (const char *dirname, int hex_output, struct uniq *U)
 	    }
 	}
     } else {
-	cli_errmsg ("ScanDir -> Can't open directory %s.\n", dirname);
+	logg("!ScanDir -> Can't open directory %s.\n", dirname);
 	return CL_EOPEN;
     }
 

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list