This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Define missing __inet6_scopeid_pton internal function used by getaddrinfo


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]