--On Saturday, August 30, 2003 01:09:54 -0300 "Marc G. Fournier" <[EMAIL PROTECTED]> wrote:
I want to conditionalize ONLY getpwuid_r, and not strerror_r and gethostbyname_r.
'K, but why the change to NEEDS_REENTRANT_FUNC_NAMES in the first place?
The thing that has me most confused here is that the end result is the same with or without the patch, from what I can tell ... the right side of the && will always resolve to TRUE, before or after the patch ... no?
So, I changed the NEED_REENTRANT_FUNC_NAMES to no, or undefined in the template, and need a configure check to set HAVE_GETPWUID_R, so we will use getpwuid_r in the ENABLE_THREADS case.
UnixWare does NOT have strerror_r nor does it have gethostbyname_r, and the
libc versions are reentrant in libc, for those 2. We need to use getpwuid_r for
threaded apps.
Does this clarify things?
LER
-- 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 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match