Subject: CVS commit: basesrc
To: None <email@example.com>
From: Jun-ichiro itojun Hagino <firstname.lastname@example.org>
Date: 07/05/1999 19:00:42
Module Name: basesrc
Committed By: itojun
Date: Tue Jul 6 02:00:42 UTC 1999
basesrc/lib/libc/net: getaddrinfo.c gethnamaddr.c
fix name resolution problem when you have "hosts: files dns" on
This was because of two reasons:
- /etc/hosts lookup code damaged some of internal
state used by gethostbyname2().
- getaddrinfo() was not persistent enough against errors.
Sorry for the delay, and hope this fix all the following PRs
(I checked in my environment immitating those PRs and it worked for me)
PR: 7901, 7912, 7921
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 basesrc/lib/libc/net/getaddrinfo.c
cvs rdiff -r1.20 -r1.21 basesrc/lib/libc/net/gethnamaddr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.