[Clamav-devel] Minor patch to libclamav/table.c

2004-10-01 Thread Marcus Grando
--begin-- --- table.c.old Sat Oct 2 00:54:57 2004 +++ table.c Sat Oct 2 00:55:25 2004 @@ -109,7 +109,9 @@ if(table->tableHead == NULL) return -1; /* not populated yet */ +#ifdef CL_DEBUG cost = 0; +#endif for(tableItem = table->tableHead; tableItem

Re: [Clamav-devel] PATCH: improvements for Mac OS X/clamXav

2004-10-01 Thread Maxim Dounin
Hello! On Thu, 30 Sep 2004, Remi Mommsen wrote: [...] > >> +sprintf(ditto,"/usr/bin/ditto --rsrc %s %s",src,dest); [...] Please also make shure that src & dest properly escaped when used in system(). And don't forget to terminate options ('--') to avoid problems with files starting with '-'.

Re: [Clamav-devel] configure and dns option

2004-10-01 Thread Tom G. Christensen
Tomasz Kojm wrote: On Mon, 27 Sep 2004 17:14:56 +0200 "Tom G. Christensen" <[EMAIL PROTECTED]> wrote: Hi, The --disable-dns configure code seems to have an unfortunate sideeffect in that using --enable-dns will turn off the checking for dn_expand in -lresolv (and cause the build to crash since -lr