Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users
Re: Exim 4.80 RC5 uploaded
 

Index | Next | Previous | View Flat


D.H.Davis at bath

May 24, 2012, 2:48 AM


Views: 1085
Permalink
Re: Exim 4.80 RC5 uploaded [In reply to]

On Thu, 24 May 2012, A J Thew wrote:

> From: A J Thew <aj.thew [at] gmail>
> To: exim-users [at] exim
> Date: Thu, 24 May 2012 09:59:27
> Subject: Re: [exim] Exim 4.80 RC5 uploaded

...

> Hi has anyone tried with an old gcc (2.95)? On Solaris 2.9/gcc 2.95.2
>
> I get:
>
> gcc pdkim.c
> pdkim.c: In function `pdkim_feed_finish':
> pdkim.c:1389: parse error before `*'
> pdkim.c:1390: `hdrs' undeclared (first use in this function)
> pdkim.c:1390: (Each undeclared identifier is reported only once
> pdkim.c:1390: for each function it appears in.)
> gmake[2]: *** [pdkim.o] Error 1

Just tried this. Seen this before with gcc 2.95.2. It *really*
likes to have the declarations before any of the executable
statements. So apply this simple patch:

*** pdkim.c.orig Thu May 24 04:43:20 2012
--- pdkim.c Thu May 24 10:41:22 2012
***************
*** 1383,1392 ****
char *b = strdup(sig->headernames);
char *p = b;
char *q = NULL;
if (b == NULL) return PDKIM_ERR_OOM;

/* clear tags */
- pdkim_stringlist *hdrs = ctx->headers;
while (hdrs != NULL) {
hdrs->tag = 0;
hdrs = hdrs->next;
--- 1383,1392 ----
char *b = strdup(sig->headernames);
char *p = b;
char *q = NULL;
+ pdkim_stringlist *hdrs = ctx->headers;
if (b == NULL) return PDKIM_ERR_OOM;

/* clear tags */
while (hdrs != NULL) {
hdrs->tag = 0;
hdrs = hdrs->next;
--
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis [at] bath Phone: +44 1225 386101

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Subject User Time
Exim 4.80 RC5 uploaded pdp at exim May 23, 2012, 10:32 PM
    Re: Exim 4.80 RC5 uploaded r.berber at computer May 23, 2012, 11:16 PM
        Re: Exim 4.80 RC5 uploaded aj.thew at gmail May 24, 2012, 1:57 AM
        Re: Exim 4.80 RC5 uploaded pdp at exim May 25, 2012, 2:29 AM
            Re: Exim 4.80 RC5 uploaded nigel at dotdot May 25, 2012, 4:26 AM
                Re: Exim 4.80 RC5 uploaded pdp at exim May 25, 2012, 7:56 AM
    Re: Exim 4.80 RC5 uploaded aj.thew at gmail May 24, 2012, 1:59 AM
    Re: Exim 4.80 RC5 uploaded D.H.Davis at bath May 24, 2012, 2:48 AM
    Re: [exim-dev] Exim 4.80 RC5 uploaded wbreyha at gmx May 24, 2012, 7:11 AM
        Re: [exim-dev] Exim 4.80 RC5 uploaded wbreyha at gmx May 24, 2012, 8:50 AM
            Re: [exim-dev] Exim 4.80 RC5 uploaded wbreyha at gmx May 24, 2012, 2:08 PM
                Re: [exim-dev] Exim 4.80 RC5 uploaded exim-users at spodhuis May 25, 2012, 2:09 AM
        Re: [exim-dev] Exim 4.80 RC5 uploaded exim-users at spodhuis May 25, 2012, 2:12 AM
    Re: Exim 4.80 RC5 uploaded aj.thew at gmail May 24, 2012, 7:20 AM
    Re: Exim 4.80 RC5 uploaded tlyons at ivenue May 24, 2012, 8:08 AM
    Re: Exim 4.80 RC5 uploaded nigel at dotdot May 24, 2012, 8:47 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.