From owner-cvs-all Wed Oct 24 12:37:10 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 34BD337B401; Wed, 24 Oct 2001 12:37:08 -0700 (PDT) Received: (from ume@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9OJb8m90650; Wed, 24 Oct 2001 12:37:08 -0700 (PDT) (envelope-from ume) Message-Id: <200110241937.f9OJb8m90650@freefall.freebsd.org> From: Hajimu UMEMOTO Date: Wed, 24 Oct 2001 12:37:08 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net res_init.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ume 2001/10/24 12:37:08 PDT Modified files: (Branch: RELENG_4) lib/libc/net res_init.c Log: MFC 1.25: Fill _res.sort_list with harmless entry. sortlist for IPv6/IPv4 is stored in _res_ext.sort_list, and sortlist for IPv4 is stored in _res.sort_list for backward compatibility. However, both sort_list's are maintaind by just one index _res.nsort. So, when IPv6 address is specified to sortlist, empty entry was created in _res.sort_list. It broke sortlist facility of gethostbyname(). Revision Changes Path 1.19.2.6 +4 -1 src/lib/libc/net/res_init.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message