From owner-freebsd-hackers Sat Aug 4 7:11:21 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns0.seaman.net (ns0.seaman.net [168.215.64.186]) by hub.freebsd.org (Postfix) with ESMTP id 35E9737B401 for ; Sat, 4 Aug 2001 07:11:18 -0700 (PDT) (envelope-from dick@seaman.org) Received: from tbird.internal.seaman.net (IDENT:root@tbird [192.168.10.12]) by ns0.seaman.net (8.11.3/8.11.3) with ESMTP id f74EB6481944; Sat, 4 Aug 2001 09:11:06 -0500 (CDT) (envelope-from dick@seaman.org) Received: (from dick@localhost) by tbird.internal.seaman.net (8.11.0/8.11.0) id f74E8Mb20290; Sat, 4 Aug 2001 09:08:22 -0500 Date: Sat, 4 Aug 2001 09:08:22 -0500 From: "Richard Seaman, Jr." To: Wes Peters Cc: Alfred Perlstein , Alexander Litvin , freebsd-hackers@FreeBSD.ORG Subject: Re: gethostbyXXXX_r() Message-ID: <20010804090821.E1119@seaman.org> Mail-Followup-To: "Richard Seaman, Jr." , Wes Peters , Alfred Perlstein , Alexander Litvin , freebsd-hackers@FreeBSD.ORG References: <20010803105321.A37737@unknown.whichever.org> <20010803131115.F85642@elvis.mu.org> <3B6B9052.5FE460B7@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B6B9052.5FE460B7@softweyr.com>; from wes@softweyr.com on Sat, Aug 04, 2001 at 12:04:02AM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Aug 04, 2001 at 12:04:02AM -0600, Wes Peters wrote: > Alfred Perlstein wrote: > > > > * Alexander Litvin [010803 09:54] wrote: > > > Are there any plans of making gethostbyname_r() and gethostbyaddr_r() > > > available in FreeBSD? May be somebody already has them almost ready > > > to be commited? Or are there any considered wrong way to go? > > > > > > The reason I'm asking is that I actually have a local patch implementing > > > them here (only for DNS for now). Is it good idea to put some effort to > > > finalaze it and submit a PR? Or I'd better not waist time on that? > > > > Please complete it, let me know when you submit the PR i'll try > > to get it integrated. > > I'll be happy to take a look at it too. I did a lot of the _r routines > we have now, in some cases simply documenting ones that were there, but > halted when I got to gethostbyX_r and the passwd and group variants, > because they were too fugly to tackle at that time. I'll get back to > the > remainder "someday", when I have the time, unless you beat me to it. There are some gethostby_r, getnetby_r, ... etc routines in the linuxthreads port (/usr/ports/devel/linuxthreads/files). These came from the original linuxthreads package, and have no copyright on them. I never researched the copyright status of them, but I don't think they are GPL, though you might want to do further research on their history if you use them. -- Richard Seaman, Jr. email: dick@seaman.org 5182 N. Maple Lane phone: 262-367-5450 Nashotah WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message