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,
Pennsylvania19073