[exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim…

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: exim-cvs
Temat: [exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim/exim-src/src exim.h
ph10 2005/06/27 11:52:20 BST

  Modified files:
    exim-doc/doc-txt     ChangeLog 
    exim-src/src         exim.h 
  Log:
  Add checks and local definitions for all T_xxx macros, not just a few
  special ones.


  Revision  Changes    Path
  1.173     +6 -0      exim/exim-doc/doc-txt/ChangeLog
  1.16      +25 -0     exim/exim-src/src/exim.h


  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
  retrieving revision 1.172
  retrieving revision 1.173
  diff -u -r1.172 -r1.173
  --- ChangeLog    27 Jun 2005 10:40:14 -0000    1.172
  +++ ChangeLog    27 Jun 2005 10:52:20 -0000    1.173
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.172 2005/06/27 10:40:14 ph10 Exp $
  +$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.173 2005/06/27 10:52:20 ph10 Exp $


   Change log file for Exim from version 4.21
   -------------------------------------------
  @@ -201,6 +201,12 @@
   PH/29 Removed support for the Linux-libc5 build, as it is obsolete and the
         code in os-type was giving problems when libc.so lives in lib64, like on
         x86_64 Fedora Core.
  +
  +PH/30 Exim's DNS code uses the original T_xxx names for DNS record times. These
  +      aren't the modern standard, and it seems that some systems' include files
  +      don't always have them. Exim was already checking for some of the newer
  +      ones like T_AAAA, and defining it itself. I've added checks for all the
  +      record types that Exim uses.





  Index: exim.h
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/exim.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- exim.h    24 May 2005 10:57:10 -0000    1.15
  +++ exim.h    27 Jun 2005 10:52:20 -0000    1.16
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/exim.h,v 1.15 2005/05/24 10:57:10 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/exim.h,v 1.16 2005/06/27 10:52:20 ph10 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -278,6 +278,31 @@
   #ifndef T_SRV
   #define T_SRV 33
   #endif
  +
  +/* It seems that some versions of arpa/nameser.h don't define *any* of the
  +T_xxx macros, which seem to be non-standard nowadays. Just to be on the safe
  +side, put in definitions for all the ones that Exim uses. */
  +
  +#ifndef T_A
  +#define T_A 1
  +#endif
  +
  +#ifndef T_CNAME
  +#define T_CNAME 5
  +#endif
  +
  +#ifndef T_MX
  +#define T_MX 15
  +#endif
  +
  +#ifndef T_NS
  +#define T_NS 2
  +#endif
  +
  +#ifndef T_PTR
  +#define T_PTR 12
  +#endif
  +


/* We define a few private types for special DNS lookups: