[prev in list] [next in list] [prev in thread] [next in thread]
List: clamav-users
Subject: Re: [Clamav-users] Compile error
From: "Jason Staudenmayer" <jasons () adventureaquarium ! com>
Date: 2008-09-30 18:02:35
Message-ID: B922EC7066E8044683224CF964342F9701C305CC () MAIL-I ! adventureaquarium ! com
[Download RAW message or body]
Nope I'm still getting the error. The un-patch compiles fine, I don't understand
why that variable is suddenly causing problems now.
Jason
..·><((((º>
> -----Original Message-----
> From: clamav-users-bounces@lists.clamav.net
> [mailto:clamav-users-bounces@lists.clamav.net] On Behalf Of
> Jason Staudenmayer
> Sent: Tuesday, September 30, 2008 1:30 PM
> To: ClamAV users ML
> Subject: Re: [Clamav-users] Compile error
>
>
> The patch checks out fine, it's the same on the other system
> I have that did compile it. I'm running an update now maybe I
> have a broken package somewhere.
>
> Jason
>
>
>
> ..·><((((º>
>
>
>
> > -----Original Message-----
> > From: clamav-users-bounces@lists.clamav.net
> > [mailto:clamav-users-bounces@lists.clamav.net] On Behalf Of
> > Török Edwin
> > Sent: Tuesday, September 30, 2008 1:19 PM
> > To: ClamAV users ML
> > Subject: 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
> >
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit
> http://wiki.clamav.net
> http://www.clamav.net/support/ml
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic