From patchwork Wed Jun 4 02:51:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rich Felker X-Patchwork-Id: 355705 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B747F14009F for ; Wed, 4 Jun 2014 12:51:26 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=dhcj mchnrSVMBTg3scCdoNyZSqBd3ZQrzqARsv93W3tVlr8LNtEsPZnzdVmhVGXqaDiQ +w8EhfTzuK4mfcObISYVxkqJrwBsDdSmfTu5N5/pOwSQqaiL8VUx1exoI9fT+kG1 UIpAW1z0p8Jz28JtEqz2e65ajYtIVwgddb/PFcs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=Wb2MCJoApr g1icIFDVrmzO6TSE8=; b=TFrqBbDUky9/lLuflTIEUXvUetsa6Xdu0i8Q0/L9sy k5mWlXH2YaPuxYJgEb5q0KurnlTbPxJiPauXLGE3VUmxUtYqGh3cGhBJVayVxqio dRxPgpAQ33XHqBJ8BYQlEkNnrGeFl3AHlsbVi8HOAQg1frO6t28be80BhoTiCmDc w= Received: (qmail 10625 invoked by alias); 4 Jun 2014 02:51:19 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 10586 invoked by uid 89); 4 Jun 2014 02:51:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL, BAYES_00, RDNS_DYNAMIC, TVD_RCVD_IP autolearn=no version=3.3.2 X-HELO: brightrain.aerifal.cx Date: Tue, 3 Jun 2014 22:51:09 -0400 From: Rich Felker To: libc-alpha@sourceware.org Subject: Re: Please address NI_NUMERICSCOPE issue Message-ID: <20140604025109.GL507@brightrain.aerifal.cx> References: <20121014220643.GA17229@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20121014220643.GA17229@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) On Sun, Oct 14, 2012 at 06:06:43PM -0400, Rich Felker wrote: > See bug #14102: http://sourceware.org/bugzilla/show_bug.cgi?id=14102 > > Even if nobody is willing to add the functionality immediately, can we > at least agree on a value it will have when it's added? This issue is really trivial and I've been waiting for someone to address it for almost 2 years now. Is the attached patch acceptable? Rich --- resolv/netdb.h.orig 2014-06-03 22:58:26.000000000 -0400 +++ resolv/netdb.h 2014-06-03 23:00:06.000000000 -0400 @@ -653,6 +653,7 @@ # define NI_IDN_USE_STD3_ASCII_RULES 128 /* Validate strings according to STD3 rules. */ # endif +# define NI_NUMERICSCOPE 256 /* Don't convert scope_id to name. */ /* Translate name of a service location and/or a service name to set of socket addresses.