From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8564 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: getaddrinfo usage with wrong ip family Date: Thu, 24 Sep 2015 11:39:04 -0400 Message-ID: <20150924153904.GK17773@brightrain.aerifal.cx> References: <06898546-AC9C-40F0-A2F5-2F1CC02E185C@gmail.com> <20150922151625.GX17773@brightrain.aerifal.cx> <71B72D33-A1D4-4B23-BFEB-6BFA01DF7523@gmail.com> <20150924105901.GI10551@port70.net> <418CD580-74BC-4B3E-BA64-CB3AEA305843@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1443109165 1778 80.91.229.3 (24 Sep 2015 15:39:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2015 15:39:25 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8576-gllmg-musl=m.gmane.org@lists.openwall.com Thu Sep 24 17:39:25 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Zf8cE-0002G0-AY for gllmg-musl@m.gmane.org; Thu, 24 Sep 2015 17:39:22 +0200 Original-Received: (qmail 24184 invoked by uid 550); 24 Sep 2015 15:39:19 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 24156 invoked from network); 24 Sep 2015 15:39:18 -0000 Content-Disposition: inline In-Reply-To: <418CD580-74BC-4B3E-BA64-CB3AEA305843@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8564 Archived-At: On Thu, Sep 24, 2015 at 05:11:03PM +0200, Julien Ramseier wrote: > > > Le 24 sept. 2015 à 12:59, Szabolcs Nagy a écrit : > > > > * Julien Ramseier [2015-09-24 12:27:22 +0200]: > >>> Le 22 sept. 2015 à 17:16, Rich Felker a écrit : > >>> > >>> Another approach might be having __lookup_numeric always parse with > >>> AF_UNSPEC, but return error rather than 0 results if the resulting > >>> family does not match the requested family. > >> > >> This seems the simplest solution in the meantime. > >> > >> Here???s the patch I applied to my trunk. > >> > > > > forgot to attach the patch? > > No, but maybe my mail client screwed it up. It was there, just deeply embedded in multiple layers of MIME. Rich