[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:08:42 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 1057f59ca4653b1cdf77a32b13bdbb836b61f654
Author: aCaB <acab at clamav.net>
Date: Thu Oct 29 21:28:08 2009 +0100
win32: handle . and .. - 3rd time a charm
diff --git a/win32/compat/w32_stat.c b/win32/compat/w32_stat.c
index 37fdeed..22eba66 100644
--- a/win32/compat/w32_stat.c
+++ b/win32/compat/w32_stat.c
@@ -95,6 +95,11 @@ wchar_t *uncpath(const char *path) {
copy_from++;
}
}
+
+ if(wcslen(dest) == 6 && !wcsncmp(dest, L"\\\\?\\", 4) && (dest[5] == L':') && ((dest[4] >= L'A' && dest[4] <= L'Z') || (dest[4] >= L'a' && dest[4] <= L'z'))) {
+ dest[6] = L'\\';
+ dest[7] = L'\0';
+ }
return dest;
}
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list