This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Re: on DU4.0d/alpha, gethostbyname_r is only declared with -D_REENTRANT
- To: Tom Tromey <tromey@cygnus.com>
- Subject: Re: on DU4.0d/alpha, gethostbyname_r is only declared with -D_REENTRANT
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 31 Jul 1999 21:35:48 -0300
- Cc: java-discuss@sourceware.cygnus.com, java-patches@sourceware.cygnus.com
- References: <orso6l6lbq.fsf@cupuacu.lsd.dcc.unicamp.br> <orogh7ym2r.fsf@cupuacu.lsd.dcc.unicamp.br> <199908010016.RAA14249@ferrule.cygnus.com.>
On Jul 31, 1999, Tom Tromey <tromey@cygnus.com> wrote:
> I think we ought to define _REENTRANT whenever we are using POSIX
> threads.
The point is that I was *not* using POSIX threads.
Maybe we shouldn't use gethostbyname_r in this case...
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them