Bruno Haible <br...@clisp.org> writes: > James Youngman wrote: >> My first reaction was, why isn't libunistring===glibc > > glibc means to implement POSIX and be the interface to the system calls. > The general guideline nowadays among glibc maintainers is "no new API" > (unless it's a new system call). IIRC, when libidn was added to glibc as > an add-on, Ulrich Drepper asked Simon Josefsson to remove all functionality > that was not immediately needed for libidn.
Actually the libidn add-on is not in glibc proper (i.e., /lib/libc.so), it is in a loadable module. I think the policy around adding such code is not necessarily the same as adding code to the base glibc. On the other hand, with the glibc+libidn work, there were no new API functions added to glibc, just some new getaddrinfo flags. However I think a separate project like libunistring that export gnulib code as a shared library is a better idea, so I'm happy with that. /Simon