Please address NI_NUMERICSCOPE issue

Rich Felker dalias@aerifal.cx
Wed Jun 4 02:51:00 GMT 2014


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
-------------- next part --------------
--- 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.


More information about the Libc-alpha mailing list