Re: [Exim] Exim 4.03 is available

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Arkadiusz Miskiewicz
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Exim 4.03 is available
Philip Hazel <ph10@???> writes:

> Exim 4.03 is now on the ftp site:

[...]

> This release is mainly for bug fixes and tidies. However, there are a
> few new features, mostly from patches that have been sent in.


This

+22. Arranged to use getipnodebyaddr() instead of gethostbyaddr() in systems
+    with IPv6 support that have this function, because gethostbyaddr() doesn't
+    work for IPv6 addresses on all systems (it does on some).


--- exim-4.02/OS/os.h-Linux     Mon Mar 25 12:09:42 2002
+++ exim-4.03/OS/os.h-Linux     Tue Apr 16 12:40:58 2002
@@ -11,6 +11,9 @@
 #define F_FREESP     O_TRUNC
 typedef struct flock flock_t;


+#define HAVE_GETIPNODEBYNAME 1
+#define HAVE_GETIPNODEBYADDR 1
+
#define os_strsignal strsignal
#define OS_STRSIGNAL

broke linux. There is no getipnodebyxxxx() in glibc and never be.
getipnodebyxxxx() are obsolete in favour of get(addr|name)info().

Please revert this change.

> Philip Hazel            University of Cambridge Computing Service,


ps. getaddrinfo internally uses gethostbyname2() while getnameinfo() uses
gethostbyaddr() + gethostbyname() in glibc.

--
Arkadiusz Miśkiewicz IPv6 ready PLD Linux at http://www.pld.org.pl
misiek(at)pld.org.pl AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PWr