From owner-cvs-src@FreeBSD.ORG Wed Feb 25 14:03:30 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DFED16A4CE; Wed, 25 Feb 2004 14:03:30 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64D8B43D1F; Wed, 25 Feb 2004 14:03:29 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i1PM3Rra018878; Thu, 26 Feb 2004 01:03:27 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i1PM3Rxj018877; Thu, 26 Feb 2004 01:03:27 +0300 (MSK) (envelope-from ache) Date: Thu, 26 Feb 2004 01:03:26 +0300 From: Andrey Chernov To: Brian Feldman Message-ID: <20040225220326.GA18680@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Brian Feldman , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200402252103.i1PL3kkh030016@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402252103.i1PL3kkh030016@repoman.freebsd.org> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.24.0.5; VDF 6.24.0.19 cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include netdb.h resolv.h src/lib/libc/include reentrant.h src/lib/libc/net getaddrinfo.3 getaddrinfo.c gethostbydns.c gethostbyname.3 gethostbynis.c getipnodebyname.3 herror.c name6.c res_init.c res_send.c res_send_private.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 22:03:30 -0000 On Wed, Feb 25, 2004 at 01:03:46PM -0800, Brian Feldman wrote: > Make the resolver(3) and many associated interfaces much more reentrant. > The getaddrinfo(3), getipnodebyname(3) and resolver(3) can coincide now > with what should be totally reentrant, and h_errno values will now > be preserved correctly, but this does not affect interfaces such as > gethostbyname(3) which are still mostly non-reentrant. Is there any chances to implement gethostbyname_r(3) (like in Solaris)? It will be very useful for milters, they often want it. -- Andrey Chernov | http://ache.pp.ru/