This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC PATCH] GETADDRINFO: Make RFC 3484 sorting thread safe.
- From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji at linux-ipv6 dot org>
- To: drepper at redhat dot com
- Cc: libc-alpha at sources dot redhat dot com, usagi-core at linux-ipv6 dot org, yoshfuji at linux-ipv6 dot org
- Date: Thu, 18 Oct 2007 03:01:56 +0900 (JST)
- Subject: Re: [RFC PATCH] GETADDRINFO: Make RFC 3484 sorting thread safe.
- References: <20071017.221353.77648074.yoshfuji@linux-ipv6.org> <47164BB4.1070103@redhat.com>
In article <47164BB4.1070103@redhat.com> (at Wed, 17 Oct 2007 10:51:48 -0700), Ulrich Drepper <drepper@redhat.com> says:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> YOSHIFUJI Hideaki / 吉藤英明 wrote:
> > Currently getaddrinfo() is not thread safe due to RFC 3484
> > sorting. Try making it thread safe by introducing a lock.
>
> We have a more appropriate change in cvs.
Okay, thank you.
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/posix/getaddrinfo.c.diff?r1=1.116&r2=1.117&cvsroot=glibc
--yoshfuji