[PATCH] Add dn_skipname() from OpenBSD

Mike Frysinger vapier at gentoo.org
Wed Sep 16 14:18:19 UTC 2009


On Wednesday 16 September 2009 07:53:36 Bernhard Reutner-Fischer wrote:
> On Wed, Sep 16, 2009 at 11:32:20AM +0000, Natanael Copa wrote:
> >dn_skipname() is needed by a few applications like yate, wine, kde,
> > libspf2 and probably more.
> 
> This function is non-standard and as such must not be generally
> available.
> 
> I'd prefer if you would put that impl in a separate file.
> 
> PS:
> Apart from that, the resolver could need a complete rewrite, it's too
> big for what it does.

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).

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.

i guess you could make an argument about enabling only the perceived "common" 
symbols that people tend to use.  so the Kconfig logic would be:
 [*] Enable libresolv
	[*] Enable uncommon symbols
-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/04c12cd0/attachment.pgp>


More information about the uClibc mailing list