apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: PR44367: do we use getservbyaddr() on purpose?
Date Tue, 27 May 2008 23:45:25 GMT
On Tue, 2008-05-27 at 16:36 +1000, Bojan Smojver wrote:
> Before I get into researching this issue
> (https://issues.apache.org/bugzilla/show_bug.cgi?id=44367), does anyone
> know off the top of their heads if getservbyaddr() is now thread safe on
> all platforms that we support?

For instance, Solaris 10 claims the functions are thread safe:

http://docs.sun.com/app/docs/doc/816-5170/6mbb5es9l?l=en&a=view&q=getservbyname+solaris+10

However, not so in Solaris 9:

http://docs.sun.com/app/docs/doc/817-3943/6mjgk1jb0?l=en&a=view&q=getservbyname+solaris+9

So, given that we have at least one OS that would for sure require use
of thread safe functions, I think this should be fixed.

-- 
Bojan


Mime
View raw message