On Thu, 9 Jan 2003, Gelu Gogancea wrote: > > Functions gethostby* ,from glibc, work directly with the /etc/hosts file.If > this functions didn't find an entry for the client, will be crashed. > I try to find in the Andrew e-mail if he has installed the glibc 2.2.x but i > don't see nothing about it.What i see is, he use 2.95.x which is declared by > MySQL like unstable.In this context can be a coincidence what is happened. > Also i don't find difference in MYSQL daemon source code(hostname.cc) > between 4.0.7 and 4.0.8. > Regards, > > Gelu
No, the glibc gethostby* will walk the tree defined in hosts.conf, normally files,dns. A non-find in /etc/hosts followed by a NXDOMAIN from DNS results in a negative return from the gethostby* call. *This should never cause a crash*, it is not a failure in the resolver code, it is a negative result. As to gcc, 2.95.3 is fine and stable, the notes you mention refer to gcc 2.96, an *unofficial* gcc release, a heavily patched monster released by RedHat and (for a while) used in alot of places. -- I route, therefore you are. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php