From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.devel Subject: Re: Code review for thread safeness Date: Wed, 09 Mar 2005 17:23:55 +0100 Message-ID: <87ll8w3i04.fsf@ivanova.rotty.yi.org> References: <87wtsjw1ro.fsf@zagadka.de> <87fyz75bja.fsf@zip.com.au> <6488947bc88c811e8e06efbdf810fe17@raeburn.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110389786 28927 80.91.229.2 (9 Mar 2005 17:36:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2005 17:36:26 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 09 18:36:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D953c-0002Ku-1f for guile-devel@m.gmane.org; Wed, 09 Mar 2005 18:33:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D95IJ-0008QF-UK for guile-devel@m.gmane.org; Wed, 09 Mar 2005 12:48:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D95HO-00082y-Jp for guile-devel@gnu.org; Wed, 09 Mar 2005 12:47:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D95HJ-00081E-D8 for guile-devel@gnu.org; Wed, 09 Mar 2005 12:47:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D95HJ-00081B-AT for guile-devel@gnu.org; Wed, 09 Mar 2005 12:47:25 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D94nw-0002ey-F5 for guile-devel@gnu.org; Wed, 09 Mar 2005 12:17:04 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D94jW-0007fo-8P for guile-devel@gnu.org; Wed, 09 Mar 2005 18:12:30 +0100 Original-Received: from chello080109053157.14.14.univie.teleweb.at ([80.109.53.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Mar 2005 18:12:30 +0100 Original-Received: from a.rottmann by chello080109053157.14.14.univie.teleweb.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Mar 2005 18:12:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: guile-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: chello080109053157.14.14.univie.teleweb.at User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:zl8RPhCZyX5n7NFHSwp+gsIbmiM= X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org X-MailScanner-To: guile-devel@m.gmane.org Xref: news.gmane.org gmane.lisp.guile.devel:4847 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4847 Marius Vollmer writes: > Ken Raeburn writes: > >> If at all possible, this code should be switched to use get*by*_r, or >> in the gethostby* cases, perhaps getaddrinfo and getnameinfo. > > Yes, definitely. Could you help with that? > FWIW, I just stole some code from GNet (http://www.gnetlibrary.org) for another project. You might want to have a glance at how they do this stuff, since it seems there are different flavours of gethostbyname_r (glibc, HPUX, Solaris). The relevant code is in inetaddr.c and configure.ac (detection). GNet is LGPL-licenced BTW. Rotty -- Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | a.rottmann@gmx.at http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62 It's *GNU*/Linux dammit! _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel