Atentamente, 
Cristóbal Muñoz Vial 

 

Teléfono: (56 2)  236 36 24 
Celular: (56 9)  9 9393667 
[EMAIL PROTECTED] 
www.arquicomp.cl 

 

-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Török Edwin
Enviado el: Martes, 30 de Septiembre de 2008 13:19
Para: ClamAV users ML
Asunto: Re: [Clamav-users] Compile error

On 2008-09-30 20:12, Jason Staudenmayer wrote:
> Here's the patch
>
> diff -crB clamav-0.94-orig/clamd/clamd.c clamav-0.94/clamd/clamd.c
> *** clamav-0.94-orig/clamd/clamd.c    2008-08-20 04:52:25.000000000 -0400
> --- clamav-0.94/clamd/clamd.c 2008-09-30 10:53:28.000000000 -0400
> ***************
> *** 230,240 ****
>       char timestr[32];
>       logg_file = cpt->strarg;
>       if(strlen(logg_file) < 2 || (logg_file[0] != '/' && logg_file[0] !=
'\\' && logg_file[1] != ':')) {
> !         fprintf(stderr, "ERROR: LogFile requires full path.\n");
>           logg_close();
>           freecfg(copt);
>           return 1;
> !     }
>       time(&currtime);
>       if(logg("#+++ Started at %s", cli_ctime(&currtime, timestr,
sizeof(timestr)))) {
>           fprintf(stderr, "ERROR: Problem with internal logger. Please
check the permissions on the %s file.\n", logg_file);
> --- 230,244 ----
>       char timestr[32];
>       logg_file = cpt->strarg;
>       if(strlen(logg_file) < 2 || (logg_file[0] != '/' && logg_file[0] !=
'\\' && logg_file[1] != ':')) {
> !         if (strcmp(logg_file,"stderr")!=0) {
> !         fprintf(stderr, "ERROR: LogFile requires full path.\n");
>           logg_close();
>           freecfg(copt);
>           return 1;
> !         }else {
> !                use_stderr=1;
>   

So this is line 239 for you, right?
use_stderr is a variable added by your patch. All I can say is that you
should verify that the patch was applied correctly.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml
Internal Virus Database is out of date.
Checked by AVG - http://www.avg.com 
Version: 8.0.169 / Virus Database: 270.7.2/1690 - Release Date: 26-09-2008
7:35

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to