I've not been keeping up with the thread re who has what version of
getpwuid_r... But just to clarify things the "right" version is:
int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result);
documented at:
http://www.opengroup.org/onlinepubs/007904975/functions/getpwuid.html
My email to Bruce which he tacked onto his reply is a good summary of
the current problems with the thread stuff.
L.
Larry Rosenman writes:> > > --On Friday, August 08, 2003 02:10:25 -0400 Bruce Momjian > <pgman@candle.pha.pa.us>
wrote:>> >> > Actually, your getpwuid_r is the old, pre-POSIX format. The attached> > email has the configure tests.
Iwas hoping we wouldn't need them, but> > it seems we may.> Err, SCO claims SUSv2, the Single Unix Specification
Version2. V3 > **JUST** came> out.> > I'll look at Lee's stuff.> > > > > > -- > Larry Rosenman
http://www.lerctr.org/~ler>Phone: +1 972-414-9812 E-Mail: ler@lerctr.org> US Mail: 1905 Steamboat
SpringsDrive, Garland, TX 75044-6749>