[RFC PATCH] GETADDRINFO: Make RFC 3484 sorting thread safe.

YOSHIFUJI Hideaki / 吉藤英明 yoshfuji@linux-ipv6.org
Wed Oct 17 18:02:00 GMT 2007


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



More information about the Libc-alpha mailing list