Re: [exim-dev] Patches for SunOS 4

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Metzler
Date:  
À: exim-dev
Sujet: Re: [exim-dev] Patches for SunOS 4
On 2012-12-14 Michael Haardt <michael@???> wrote:
> Hello,


> the attached patches are not complete yet, but fix a few problems
> in building exim on SunOS 4, and should not hurt any system else.
> I'll send more once I cleaned up a few hacks.


[...]
> --- src/exim-4.80.1/src/pdkim/bignum.c    2012-10-25 05:37:38.000000000 +0200
> +++ sun3/exim-4.80.1/src/pdkim/bignum.c    2012-11-14 23:05:40.000000000 +0100
> @@ -375,7 +375,8 @@
>                  if( c == 0 && k == 0 && (i + j) != 0 )
>                      continue;


> -                p += sprintf( p, "%02X", c );
> +                sprintf( p, "%02X", c );
> +                p += 2;
>                  k = 1;
>              }
>          }

[...]

I wonder whether it is a good idea to patch this in exim. - The file
is copied from polarssl. <http://bugs.exim.org/show_bug.cgi?id=1192>

cu andreas