ph10 2005/08/02 10:01:44 BST
Modified files:
exim-doc/doc-txt ChangeLog
exim-src/src buildconfig.c host.c
Log:
Set USE_INET_NTOA_FIX for AIX as well as for IRIX (untested).
Revision Changes Path
1.190 +4 -0 exim/exim-doc/doc-txt/ChangeLog
1.11 +3 -2 exim/exim-src/src/buildconfig.c
1.11 +3 -0 exim/exim-src/src/host.c
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -r1.189 -r1.190
--- ChangeLog 2 Aug 2005 08:25:45 -0000 1.189
+++ ChangeLog 2 Aug 2005 09:01:44 -0000 1.190
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.189 2005/08/02 08:25:45 ph10 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.190 2005/08/02 09:01:44 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -30,6 +30,10 @@
PH/07 Changed "SMTP protocol violation: synchronization error" into "SMTP
protocol synchronization error", to keep the pedants happy.
+
+PH/08 Arrange for USE_INET_NTOA_FIX to be set in config.h for AIX systems as
+ well as for IRIX systems, when gcc is being used. See the host.c source
+ file for comments.
Exim version 4.52
Index: buildconfig.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/buildconfig.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- buildconfig.c 27 Jun 2005 14:29:43 -0000 1.10
+++ buildconfig.c 2 Aug 2005 09:01:44 -0000 1.11
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/buildconfig.c,v 1.10 2005/06/27 14:29:43 ph10 Exp $ */
+/* $Cambridge: exim/exim-src/src/buildconfig.c,v 1.11 2005/08/02 09:01:44 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -285,10 +285,11 @@
if (errno_quota[0] != 0)
fprintf(new, "\n#define ERRNO_QUOTA %s\n", errno_quota);
-if (strcmp(cc, "gcc") == 0 && strstr(ostype, "IRIX") != NULL)
+if (strcmp(cc, "gcc") == 0 &&
+ (strstr(ostype, "IRIX") != NULL || strstr(ostype, "AIX") != NULL))
{
fprintf(new, "\n/* This switch includes the code to fix the inet_ntoa() */");
- fprintf(new, "\n/* bug when using gcc on an IRIX system. */");
+ fprintf(new, "\n/* bug when using gcc on an IRIX or AIX system. */");
fprintf(new, "\n#define USE_INET_NTOA_FIX");
}
Index: host.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/host.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- host.c 22 Jun 2005 15:44:38 -0000 1.10
+++ host.c 2 Aug 2005 09:01:44 -0000 1.11
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/host.c,v 1.10 2005/06/22 15:44:38 ph10 Exp $ */
+/* $Cambridge: exim/exim-src/src/host.c,v 1.11 2005/08/02 09:01:44 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -39,6 +39,9 @@
code by Stuart Levy
as seen in comp.sys.sgi.admin
+
+August 2005: Apparently this is also needed for AIX systems; USE_INET_NTOA_FIX
+should now be set for them as well.
Arguments: sa an in_addr structure
Returns: pointer to static text string