Bug 14102

Summary: netdb.h is missing NI_NUMERICSCOPE
Product: glibc Reporter: Rich Felker <bugdal>
Component: networkAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: normal CC: neleai
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: proposed patch

Description Rich Felker 2012-05-13 03:35:51 UTC
POSIX requires the NI_NUMERICSCOPE flag to be defined for use with getnameinfo. glibc is missing it. I propose defining it as 256 (the next available value); ignoring it should produce perfectly conformant behavior as far as I can tell.
Comment 1 Rich Felker 2012-09-30 17:26:54 UTC
Ping. This seems like a really simple issue to resolve. I'm waiting for a decision because musl libc is also missing it and we want to use the same number glibc ends up choosing to avoid gratuitous incompatibility.
Comment 2 Rich Felker 2013-08-02 15:48:33 UTC
Ping.
Comment 3 Ondrej Bilka 2013-10-15 07:40:04 UTC
For issues like these a fastest way is to send patch to libc-alpha.
Comment 4 Rich Felker 2014-06-04 02:54:15 UTC
Created attachment 7627 [details]
proposed patch

Here's a patch; I also sent it to the list.
Comment 5 Rich Felker 2022-03-27 23:29:24 UTC
Ping.