[OTish] getaddrinfo(), DNS client library (was: Crash in gethostbyname() on congruent usage)

Rob Landley rob at landley.net
Fri Dec 14 05:29:34 UTC 2012


On 12/13/2012 07:37:41 AM, Rich Felker wrote:
> On Thu, Dec 13, 2012 at 08:43:01AM +0100, Laurent Bercot wrote:
> Only a tiny class of software needs to lookup MX records. I agree it's
> flaw (which could easily be fixed with new flags) that getaddrinfo
> can't lookup other records like MX (needed for mail delivery), SVR
> (needed for SIP), etc., but the impact is relatively low. If you think
> it's that important I'll open an issue with the Austin Group about
> getting such things added to the next revision of POSIX.

Can't deprecate the old one with gaping holes in the new one, and  
adding redundant apis to do the same darn thing is sad.

Rob


More information about the uClibc mailing list