[PATCH] Add dn_skipname() from OpenBSD

Mike Frysinger vapier at gentoo.org
Thu Sep 17 02:06:36 UTC 2009


On Wednesday 16 September 2009 13:05:26 Bernhard Reutner-Fischer wrote:
> On Wed, Sep 16, 2009 at 10:18:19AM -0400, Mike Frysinger wrote:
> >On Wednesday 16 September 2009 07:53:36 Bernhard Reutner-Fischer wrote:
> >libresolv is one giant pile of shit really (not specific to uClibc).  it's
> >something that clearly just grew up without real design thought behind it
> >which means none of the interfaces are standardized and there's lots of
> > behind the back symbols (including ones with leading underscores).
> 
> there is sockets and netdb.h mandated by susv4 which exposes a somewhat
> sane interface (now, since gethostby{name,addr} and h_errno are gone).
>
> >so i dont think there is much worth in trying to boil down libresolv to
> >"standard only features" as there is no such thing.  either you dont want
> >libresolv at all (awesome!) and so it shouldnt be built (make that a
> > config option?), or you do want libresolv which means you get all of the
> > crap.
> 
> you can already turn off ipv6 or ipv4+6 or the whole networking
>  (socket+ip). Socket+ipv6 only would be nice but would mean touching the
>  resolver -- which could need a rewrite anyway (TM).

i think you're lumping standardized networking code in with non-standardized 
libresolv.  i'm talking about libresolv/ here while you're making references 
to libc/inet/.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090916/9ba3f3cf/attachment.pgp>


More information about the uClibc mailing list