--On Friday, August 08, 2003 11:53:34 +0100 Lee Kindness <[EMAIL PROTECTED]> wrote:

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.
Ok. Lee: Did you see the patch I posted? Can you help on the configure test(s)
needed to set HAVE_POSIX_GETPWUID_R?


I **THINK** I did the patch right to handle it if it's set. I forced it for UnixWare
and it seems to work.


LER


L.


Larry Rosenman writes:
 >
 >
 > --On Friday, August 08, 2003 02:10:25 -0400 Bruce Momjian
 > <[EMAIL PROTECTED]> wrote:
 >
 > >
 > > Actually, your getpwuid_r is the old, pre-POSIX format.  The attached
 > > email has the configure tests.  I was hoping we wouldn't need them,
but  > > it seems we may.
 > Err, SCO claims SUSv2, the Single Unix Specification Version 2.  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: [EMAIL PROTECTED]
 > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
 >



-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend

Reply via email to