- From: Peter Stamfest <peter.stamfest@eunet.at>
- Date: Thu, 7 Sep 2000 11:09:18 +0200 (CEST)
- To: www-lib@w3.org
Received on Thursday, 7 September 2000 05:11:16 UTC
IMHO, there is a small glitch in HTDNS.c. Name Resolver errors do not get reported via the standard error variable errno (and cannot be translated using strerror). Thus, when a resolver error is encountered, the last "real" system error gets reported, but not the proper resolver error. The attached patch replaces the error message handling in HTDNS.c and uses the hstrerror() function to obtain the message. I would like to ask people to check the patch, especially the part that deals with thread-safe resolver routines. One problem that I see is that my glibc documentation mentiones that hstrerror is obsolete, without giving any information about a replacement. The patch is against the current CVS and should be applied in Library/src. peter
Received on Thursday, 7 September 2000 05:11:16 UTC