in all locales and character sets. For example, [0-9] would
match on the Arabic numerals used in ASCII ( 0x30 - 0x39 ), but would not
work on Unicode Indic numerals used in Arabic ( 0x0660 - 0x0669 ) or any of
the host of other numeral systems used throughout central and east Asia.
Cheers.
{
+ mdprintf( odesc, "\"%s\": winpath2unix() failed.
ERROR\n", filename );
+ return -1;
+ }
+ filename = buff;
+ }
+ #endif
/* stat file */
Brian A. Reiter
WolfeReiter, LLC : Thoughtful Computing
[http://www.thoughtfulcomputing.com]
___
http://lurker.clamav.net/list/clamav-devel.html
return opt;
diff -ru clamav-devel/shared/output.h clamav-devel-interix/shared/output.h
--- clamav-devel/shared/output.hSun Apr 9 15:59:28 2006
+++ clamav-devel-interix/shared/output.hWed Jun 7 14:46:01 2006
@@ -22,6 +22,10 @@
#if HAVE_CONFIG_H
#include "clamav-config
_MAGIC 0x06054b50
@@ -117,7 +144,12 @@
uint16_t z_comment; /* zipfile comment length */
/* followed by zipfile comment (of variable size) */
-} __attribute__((packed));
+}
+#if (__GNUC__ >= 3)
+ __attribute__((packed));
+#else
+ ;
+#endif
#define ZIP_METHOD_STORED
> we only accept patches against the CVS version of ClamAV.
OK, Tomasz. I'll do a pull from CVS and re-do the patches.
Cheers.
Brian A. Reiter
WolfeReiter, LLC : Thoughtful Computing
[http://www.thoughtfulcomputing.com]
___
http://lurker.cl
required to build on Interix 5.2
because the platform isn't detected by older scripts. It would be very
convenient to get a new snapshot of config.guess copied over into the source
distributions of clamav since the current config.guess is quite old.
Cheers.
Brian A. Reiter
WolfeReiter
th2unix( filename, 0, buff, sizeof(buff) ) != 0 )
+ {
+ mdprintf( odesc, "\"%s\": winpath2unix() failed.
ERROR\n", filename );
+ return errno;
+ }
+ filename = buff;
+ }
+ #endif
/* stat file */
if(lstat(filename, &sb) == -1) {
Brian A. Reiter
WolfeReiter, LLC : Thoughtful Computing
[http://www.thoughtfulcomputing.com]
___
http://lurker.clamav.net/list/clamav-devel.html
d; ifilename, argv[i], strlen(argv[i]));
+ if(i != argc-1)
+ strncat(opt->filename, "\t", 1);
+ }
}
ret = clamscan(opt);
Brian A. Reiter
WolfeReiter, LLC : Thoughtful Computing
[http://www.thoughtfulcomputing.com]
___
http://lurker.clamav.net/list/clamav-devel.html
eclspec(dllexport)
+# else
+# define _zzip_export extern
+# endif
+# endif
+# if !defined _zzip_export && defined __BEOS__
+# define _zzip_export extern __declspec(export)
+# endif
+# if !defined _zzip_export && defined __WATCOMC__
+# define _zzi
I feel like a yutz, but the patches didn't go through again. I'm now trying
one at a time:
- libclamav.patch: The changes here are to get a compile on Interix.
Brian A. Reiter
WolfeReiter, LLC : Thoughtful Computing
[http://www.thoughtfulcom
atches were stripped from the message. I'm trying to send again
without an S/MIME signature.
Sorry for the reply to myself.
Cheers.
Brian A. Reiter
WolfeReiter, LLC : Thoughtful Computing
[http://www.thoughtfulcomputing.com]
___
http://lurker.clamav.net/list/clamav-devel.html
ronment to pass paths to clamscan and clamdscan.
- clamd.patch: Similar change as clamscan to allow support for win32 paths
with the SCAN verb. Also works around a bug in recvmsg() which is new in
Interix 5.2, but doesn't currently work.
Cheers.
Brian A. Reiter
WolfeReiter, LLC : Thoughtful
> > i know it maybe use some time to write it, but i think it
> valuealbe.
> > ONE ENGINE IS A CORE OF SOFTWARE. and why don't you design
> it indepent
> > platform? if possible, the directory maybe plot clearly, the same
>
> The engine is POSIX compliant.
And, in fact, Microsoft has made a
> Tomasz Kojm
> Sent: Monday, August 22, 2005 10:49 AM
> To: ClamAV Development
> Subject: Re: [Clamav-devel] RE: Clamd STREAM instability
>
> On Mon, 22 Aug 2005 08:10:10 -0400
> "Brian A. Reiter" <[EMAIL PROTECTED]> wrote:
>
> > > Please try thi
have uncommented the Foreground line, you should comment it again to
turn the feature off.
Brian A. Reiter
WolfeReiter, LLC : Thoughtful Computing
[http://www.wolfereiter.com]
___
http://lurker.clamav.net/list/clamav-devel.html
ase try this fix:
>
> Sun Aug 21 01:06:54 CEST 2005 (tk)
> --
> * clamd: use reentrant version of gethostbyname when available
>
Unfortunately, this patch was no more successful at resolving the SEGV than
my own efforts.
Brian A. Reit
and the pthread
locks with gethostbyname_r/lwres_gethostbyname_r(3) (reentrant) or if there
is something in BIND9 on Interix that is broken.
It would help if I knew if this is a problem that can be reproduced on other
platforms than Interix.
Cheers.
Brian A. Reiter
WolfeReiter, LLC : Thoug
cksum: f472b4f5d912f58f1ce64e6f68105758
Segmentation fault
This is output from ClamAV devel-20050720/984/Tue Jul 19 05:16:09 2005. The
same thing happens with clamav-0.86.1
Any ideas on how to resolve this issue?
Brian A. Reiter
WolfeReiter, LLC : Thoughtful Computing
[http://www.wolfereite
Hmm. Perhaps I spoke too soon. If clamd is build with poll(3), then it fails
to detect any viruses in the test directory.
> -Original Message-
> From: Brian A. Reiter [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 30, 2005 8:42 AM
> To: 'ClamAV Development'
*/
-#ifdef C_INTERIX
-#undef HAVE_POLL
-#undef HAVE_POLL_H
-#endif
-
#if HAVE_POLL
#if HAVE_POLL_H
#include
Clamav is building properly with poll(3) now on Interix.
Cheers.
Brian A. Reiter
WolfeReiter, LLC : Thoughtful Computing
[http://www.wolfereiter.com
fu/]
[http://www.interopsystems.com/tools/warehouse.htm]
Cheers.
Brian A. Reiter
WolfeReiter, LLC [http://www.wolfereiter.com]
smime.p7s
Description: S/MIME cryptographic signature
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel
vious make-an-exception-for-Interix approach.
The only downside I can foresee would be if one were attempting to use the
Microsoft C compiler instead of GCC, which I have not tried.
Cheers.
Brian A. Reiter
WolfeReiter, LLC [http://www.wolfereiter.com]
cltypes-interix.patch
Description: Binary
From: Lars Roland
> I am in the middle of deciding if I should continue in my
> quest for porting libclamav to c#...
> The bad thing
> with creating such a port to C# is that it becomes a fork of
> a given code base and that I would have to keep up with
> libclamav development.
Lars,
For my own
hout permission of the copyright holder and one may
not use unRAR to develop a RAR compatible archiver (which is not the goal
here).
CLAUSE 4:
There is a limitation of liability clause here which is, again, normal in an
open source license.
CLAUSES 5 &
/cltypes.h.
With this tweak in place, everything compiles and runs just fine, including
clamd.
Cheers.
Brian A. Reiter
WolfeReiter, LLC [http://www.wolfereiter.com]
941 O Street NW | Washington, DC | 20001
clamav-0.80rc-interix.patch
Description: Binary data
smime.p7s
Description: S/MIME
ure FOUND
Brian A. Reiter
WolfeReiter, LLC [http://www.wolfereiter.com]
941 O Street NW | Washington, DC | 20001
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R
rom: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Fiddaman
Sent: Thursday, August 12, 2004 5:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [Clamav-devel] clamd STREAM and ZIP, RAR, bzip2
On Thu, 12 Aug 2004, Brian A. Reiter wrote:
; I'm working on a C# clamd client for Mono/.NET. I
ut for test.zip, test.bz2, test.rar, etc. I
get "stream: OK".
Does clamd NOT support unzipping archives when using STREAM or am I doing
something wrong?
Brian A. Reiter
WolfeReiter, LLC [http://www.wolfereiter.com]
941 O Street NW | Washington, DC | 20001
-
END QUICK TESTS******
Brian A. Reiter
WolfeReiter, LLC <http://www.wolfereiter.com>
941 O Street NW | Washington, DC | 20001
smime.p7s
Description: S/MIME cryptographic signature
-devel] SFU/Interix compatibility patch
On Thu, 24 Jun 2004 22:56:09 -0400
"Brian A. Reiter" <[EMAIL PROTECTED]> wrote:
>
> I did not receive any responses to my submissions on June 21 regarding
> Interix compatibility. The code I submitted hasn't appeared in CVS
>
at this works on SFU/Interix 3.5.
I patched the latest snapshot from CVS: clamscan / ClamAV version
devel-20040624.
Please let me know if there is another procedure that I should be using to
submit changes.
Cheers.
Brian A. Reiter
WolfeReiter, LLC <http://www.wolfereiter.com>
941 O Stre
at this works on SFU/Interix 3.5.
I patched the latest snapshot from CVS: clamscan / ClamAV version
devel-20040624.
Please let me know if there is another procedure that I should be using to
submit changes.
Cheers.
Brian A. Reiter
WolfeReiter, LLC <http://www.wolfereiter.com>
941 O Stre
lamAV-Test-Signature
FOUND
/dev/fs/D/breiter/SFU/clamav-devel/test/test.zip: ClamAV-Test-Signature
FOUND
/dev/fs/D/breiter/SFU/clamav-devel: OK
--- SCAN SUMMARY ---
Infected files: 7
Time: 2.663 sec (0 m 2 s)
Brian A. Reiter
WolfeReiter, LLC <http://www.wolfereiter.com>
94
33 matches
Mail list logo