Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 41421 invoked from network); 18 May 2004 21:00:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 May 2004 21:00:05 -0000 Received: (qmail 38023 invoked by uid 500); 18 May 2004 21:00:34 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 37966 invoked by uid 500); 18 May 2004 21:00:33 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 37949 invoked by uid 98); 18 May 2004 21:00:33 -0000 X-Qmail-Scanner-Mail-From: trawick@attglobal.net via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(24.25.9.103):. Processed in 0.209107 secs) Message-ID: <40AA78E6.9060201@attglobal.net> Date: Tue, 18 May 2004 16:58:14 -0400 From: Jeff Trawick User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.6) Gecko/20040117 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@apr.apache.org Subject: unrecognized getnameinfo() bugs dealing with IPv4-mapped addresses Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Previously we went through this mess on older Mac OS X (DNS queries only?) I just realized that the glibc shipping with RHAS 2.1 and 3.0 (and surely many other Linux distros) has a problem with getnameinfo() for IPv4-mapped address for something defined in host file but not in DNS. The configure check for this condition fails to note the problem because (at least in my environments) the DNS has a mapping for 127.0.0.1->localhost. Shall we just assume that the GETNAMEINFO_IPV4_MAPPED_FAILS logic can be used on all platforms (incurring the minor overhead), instead of trying to be clever?