[PATCH] Define missing __inet6_scopeid_pton internal function used by getaddrinfo

Samuel Thibault samuel.thibault@ens-lyon.org
Thu Aug 3 08:54:00 GMT 2017


Samuel Thibault, on jeu. 03 août 2017 02:36:26 +0200, wrote:
> Samuel Thibault, on jeu. 03 août 2017 02:23:52 +0200, wrote:
> > * posix/tst-rfc3484.c: Include <netinet/in.h> and <net/if.h>
> > (__inet6_scopeid_pton): New function.
> 
> And likewise for tst-rfc3484-2 and tst-rfc3484-3.

Err inet/tst-inet6_scopeid_pton.c also needs it, but how is this
supposed to link when __inet6_scopeid_pton is marked attribute_hidden?

Should it perhaps just

#include <ctype.h>

#define isdigit_l(c, locale) isdigit(c)
#define ____strtoull_l_internal(s, end, base, group, locale) strtoul(s, end, base)
#define __if_nametoindex if_nametoindex
#include "inet6_scopeid_pton.c"

?

Samuel



More information about the Libc-alpha mailing list