RE: Possible race condition in gwlib/protected.c [version 1.1]

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>



> -----Original Message-----
> From: Kieran [mailto:[email protected]]

> The glibc version _is_ documented as thread-safe, while the Solaris 8
> man page for the function isn't documented.

> Is it worth working on?  I could have it activated via ./configure
> --with-getaddrinfo (so that the default isn't affected) if you'd like?

How about detecting in configure if we have a glibc, and enabling it, and not using it otherwise ?
This way modern uptodate systems with glibc will take advantage of it, while not hurting other systems, and no need for extra configuration options.

--
Oded Arbel
m-Wise mobile solutions
[email protected]

+972-9-9581711 (116)
+972-67-340014

::..
"The ships hung in the sky in much the same way that bricks don't." 
	-- Douglas Adams
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.