[Uronode] Fwd: Re: axmail version 2.1.1 - compile error and fix

Brian n1uro at n1uro.ampr.org
Fri Oct 31 03:13:43 CDT 2014


Timasz;
Everyone makes mistakes my friend,  that's why we are human :)

Sent through via axMail-fax by N1URO.



Sent with AquaMail for Android
http://www.aqua-mail.com


On October 31, 2014 3:10:56 AM SP2L <SP2L at wp.pl> wrote:

> Bob, Brian
>
> Right, it was wrong list...
> *Unfortunately I made mistake - correction follows...*
>
> I had problems with the patch you supplied.
> Therefore I made new one that worked on my Debian-7.7.0 x64.
> Attached small *archive.tar*  file - self explanatory.
> Compiler is  gcc 4.7.2-5
>
> Best regards.
> --
>
>
> On 30/10/14 21:02, Boudewijn (Bob) Tenty wrote:
> > Tom,
> >
> > Below is the utils.c.diff  patch file in case you can't reach the svn
> > repository yet.
> > It solves the utils.c compiler warning for axmail version 2.1-1
> > Copy and paste it to a file called "utils.c.diff" in the source
> > directory and  apply the patch with,
> >
> > patch -p0 < utils.c.diff
> >
> > 73, Bob VE3TOK
> >
> >
> > --- utils.c.orig    2014-10-30 03:24:15.000000000 +0000
> > +++ utils.c    2014-10-30 03:32:54.000000000 +0000
> > @@ -150,12 +150,9 @@
> >      va_start(args, fmt);
> >      vprintf(fmt, args);
> >      va_end(args);
> > -
> > -/*    if (e <= sys_nerr) */
> > -    if (e <= strerror)
> > -/*        printf(": %s\n", strerror[e]); */
> > -        printf(": %s\n", strerror(errno));
> > -    else
> > -        printf(": unknown system error %d\n", e);
> > +
> > +        printf("Error number: %d\n", e);          /* Changed error
> > function, Boudewijn (Bob) Tenty VE3TOK - Oct 25, 2014 */
> > +        perror("The following error occurred: ");
> > +
> >  }
> >
> >
> >
> >
> > _______________________________________________
> > Uronode mailing list
> > Uronode at tapr.org
> > http://www.tapr.org/mailman/listinfo/uronode
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tapr.org/pipermail/uronode/attachments/20141031/cab84b70/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: INL1
Type: image/jpeg
Size: 17207 bytes
Desc: not available
URL: <http://www.tapr.org/pipermail/uronode/attachments/20141031/cab84b70/attachment-0001.jpe>


More information about the Uronode mailing list