This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: RFC: IDN support in getaddrinfo().
- From: Simon Josefsson <jas at extundo dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 08 Mar 2004 17:29:49 +0100
- Subject: Re: RFC: IDN support in getaddrinfo().
- References: <ilu65ivph18.fsf@extundo.com> <3FC41F79.3070104@redhat.com><ilu1xrvv65j.fsf@latte.josefsson.org> <3FC47A3B.3060602@redhat.com><ilu8ym3tnyo.fsf@latte.josefsson.org> <3FC4E691.3080605@redhat.com><iluekvvq97l.fsf@latte.josefsson.org> <3FC4F244.5020007@redhat.com><iluwu9notm5.fsf@latte.josefsson.org><ilu3ccaq50i.fsf@latte.josefsson.org> <3FC50672.6080002@redhat.com><iluk75molsr.fsf@latte.josefsson.org><ilu65dgns4y.fsf@latte.josefsson.org> <404BF3EF.6040605@redhat.com>
I just realized you added idn-int.h as well. First, it isn't
mentioned in Makefile. Secondly, you might want to shorten it into a
one-liner '#include <stdint.h>', for glibc it should be equivalent.
The rest of the file is rather unreadable. Finally, it might be
simpler to remove the file altogether, and replace the '#include
<idn-int.h>' statement in stringprep.h to say '#include <stdint.h>'. I
did this in punycode.h and idna.h (which also need uint32_t).
(The reason for idn-int.h is to get uint32_t which isn't guaranteed by
C89. But the GLIBC stdint.h appear to always typedef it.)
Thanks,
Simon