[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:23:08 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 6df3bfc3453dd0f9fdbcfc1dc77660ce35b16566
Author: aCaB <acab at clamav.net>
Date:   Fri Mar 19 02:48:12 2010 +0100

    win32: properly handle all relative paths in makeabs

diff --git a/clamdscan/client.c b/clamdscan/client.c
index 04a13de..cfa9512 100644
--- a/clamdscan/client.c
+++ b/clamdscan/client.c
@@ -140,6 +140,12 @@ static char *makeabs(const char *basepath) {
 	    free(ret);
 	    return NULL;
 	}
+#ifdef _WIN32
+	if(*basepath == '\\') {
+	    namelen = 2;
+	    basepath++;
+	} else
+#endif
 	namelen = strlen(ret);
 	snprintf(&ret[namelen], PATH_MAX - namelen, PATHSEP"%s", basepath);
     } else {
diff --git a/win32/clamav-config.h b/win32/clamav-config.h
index c458a4e..8a5aec8 100644
--- a/win32/clamav-config.h
+++ b/win32/clamav-config.h
@@ -493,7 +493,7 @@
 /* #undef USE_SYSLOG */
 
 /* Version number of package */
-#define VERSION "devel-clamav-0.96rc1-13-g99a2d96"
+#define VERSION "devel-clamav-0.96rc1-16-g89e12ee"
 
 /* Version suffix for package */
 #define VERSION_SUFFIX ""

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list