| Summary: | Missing function "dn_skipname" | ||
|---|---|---|---|
| Product: | uClibc | Reporter: | Michael Deutschmann <michael> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | uclibc-cvs |
| Priority: | P5 | ||
| Version: | 0.9.30.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | i386-pc-linux-uclibc | Target: | i386-pc-linux-uclibc |
| Build: | i386-pc-linux-uclibc | ||
|
Description
Michael Deutschmann
2009-04-22 16:29:51 UTC
Confirmed. Most of the funcs of that block in resolv.h are NIH and should be #if 0'ed out. Care to submit a patch? (In reply to comment #1) > Confirmed. > Most of the funcs of that block in resolv.h are NIH and should be #if 0'ed out. > Care to submit a patch? That would not resolve the problem of libspf2 failing to compile. It's not checking for the function and being fooled by the prototype into thinking it's there. Rather, it unconditionally needs dn_skipname to function. The only circumstance in which it can compile without it is if some other functions including "ns_initparse" are provided by the library. So the only acceptable resolution to this bug is for dn_skipname to be really implemented. (I don't know how to implement dn_skipname, so I can't supply a patch.) I'd like to point out that I have only seen 2 applications needing dn_skipname (of 850+) and those are libspf2 and wine. I can provide a patch for uclibc if you still are interested, but I don't think its worth it. Better provide patches to the apps needing it. I suggest closing this bug. For libspf2: http://git.alpinelinux.org/cgit/aports/plain/main/libspf2/0001-provide-dn_skipname.patch And for wine: http://git.alpinelinux.org/cgit/aports/plain/main/wine/dn_skipname.patch fetchmail (http://fetchmail.berlios.de/) also requires dn_skipname. This will be in 0.9.33 (UCLIBC_HAS_RESOLVER_SUPPORT) |