Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Date: 2003-08-30 04:51:01
Message-ID: 200308300451.h7U4p1I26068@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2003-08-30 05:08:45 Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Previous Message Bruce Momjian 2003-08-30 04:49:11 Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)