It is quite large, as it basically touches every file, but not fundamental. A rough summary is below.
If there is interest, any volunteers to help test, or access to more extensive test sets would be great (I can understand why you don't make them generally available!)
Thanks,
Mark
Changes summary:
- hand-generated clamav-config.h
- #ifdefs for includes where unistd.h is used. MSVCRT posix-ish functionality is used. O_BINARY everywhere.
- some fiddling to support the fact that winsock makes a (most foul) distinction between sockets and files
- registry reading for CONFDIR, DATADIR. win32 has no fixed paths apart from the registry.
- /\ issue
- win32 gettimeofday + opendir et al implementation (the latter adapted from perl, so licensing ok)
- pthreads for win32 (http://sources.redhat.com/pthreads-win32/) if CL_THREADSAFE || clamd
- zlib, libzip2 - both have win32 support
- currently compiles with VC 2003, should be easy enough to get going under mingw32 if desired
What's left: - libgmp (no sigs) - errno usage for sockets - DNS TXT not supported (possibly curl would help there) - daemons (=win32 services)
diff -ur (~120k) http://www.blushingpenguin.com/mark/clamav/patch.txt
diff -urN (~200k) http://www.blushingpenguin.com/mark/clamav/patch+new.txt _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html