Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Larry Rosenman <ler@lerctr.org>
Cc: "Marc G. Fournier" <scrappy@hub.org>, Peter Eisentraut <peter_e@gmx.net>, Tom Lane <tgl@sss.pgh.pa.us>, "Marc G. Fournier" <scrappy@postgresql.org>, pgsql-hackers@postgresql.org
Date: 2003-08-30T04:51:01Z
Lists: pgsql-hackers
Larry Rosenman wrote: > > Yes, and that is the complex part because _some_ non-*_r functions are > > thread-safe, and some are not. I have to determine if we have other > > such platforms before I figure out how to fix it in the cleanest way. > > > > In most platforms that are like this, I think, they have all the *_r > > functions even if all of them are not required. > well, this is not true on FreeBSD. > > it does NOT have gethostbyname_r (on 5.1-CURRENT as of last nite). > > It does have getpwuid_r and strerror_r. Yes, but it doesn't require those *_r functions. It uses a separate library. It has them around only for compatibility, or so I am told. Seems netbsd also needs them, but it seems it has them all. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073