Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Kurt Roeckx <q@ping.be>
From: Kurt Roeckx <Q@ping.be>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Lee Kindness <lkindness@csl.co.uk>,
Bruce Momjian <pgman@candle.pha.pa.us>, "Marc G. Fournier" <scrappy@hub.org>, Larry Rosenman <ler@lerctr.org>, Tom Lane <tgl@sss.pgh.pa.us>, "Marc G. Fournier" <scrappy@postgresql.org>, PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2003-08-31T18:15:43Z
Lists: pgsql-hackers
On Sun, Aug 31, 2003 at 12:04:58PM +0200, Peter Eisentraut wrote: > Lee Kindness writes: > > > You don't... and you simply shouldn't care. If there is a_r version > > available then we should use it - even if the plain version is "safe". > > The problem with this is that the automatic determination (in configure) > whether there is a xxx_r() version is, in general, fragile. We cannot > rely on configure saying that xxx_r() doesn't exist, so the plain xxx() > should be good enough. Else, we'd be shipping claimed-to-be-thread-safe > libraries that might trigger bugs that will be hard to track down. I think you missed a part of his email. He says that if xxx_r() isn't available, we should provide an xxx_r() ourself. Kurt