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

SP2L SP2L at wp.pl
Fri Oct 31 02:10:49 CDT 2014


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/04b0cf76/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 17207 bytes
Desc: not available
URL: <http://www.tapr.org/pipermail/uronode/attachments/20141031/04b0cf76/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: archive.tgz
Type: application/x-compressed-tar
Size: 1679 bytes
Desc: not available
URL: <http://www.tapr.org/pipermail/uronode/attachments/20141031/04b0cf76/attachment-0001.bin>


More information about the Uronode mailing list