Re: getpwnam_r missing

2003-01-10 Thread Terry Lambert
Craig Rodrigues wrote: > On Mon, Jan 06, 2003 at 01:55:24PM -0500, Garrett Wollman wrote: > > (We really should figure out how to implement the _r functions, > > because a POSIX.1-2001 system with threads is supposed to have them.) > > How do these functions need to be implemented? Is it sufficie

Re: getpwnam_r missing

2003-01-10 Thread Craig Rodrigues
On Mon, Jan 06, 2003 at 01:55:24PM -0500, Garrett Wollman wrote: > (We really should figure out how to implement the _r functions, > because a POSIX.1-2001 system with threads is supposed to have them.) How do these functions need to be implemented? Is it sufficient to re-implement the non-reentr

Re: getpwnam_r missing

2003-01-06 Thread Andy Fawcett
On Monday 06 January 2003 20:55, Garrett Wollman wrote: > < said: > > #if defined(QT_THREAD_SUPPORT) && > > defined(_POSIX_THREAD_SAFE_FUNCTIONS) > > This conditional is erroneous, so you should definitely bug Troll > Tech. > > It should instead read: > > #if defined(QT_THREAD_SUPPORT) && _POSIX_T

getpwnam_r missing

2003-01-06 Thread Garrett Wollman
< said: > #if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) This conditional is erroneous, so you should definitely bug Troll Tech. It should instead read: #if defined(QT_THREAD_SUPPORT) && _POSIX_THREAD_SAFE_FUNCTIONS - 0 > 0 (We really should figure out how to implement

getpwnam_r missing

2003-01-06 Thread Andy Fawcett
Hi, While trying to build the latest Qt (3.1.1) from original sources, it fails because it cannot find getpwnam_r, which we appear to be missing in -CURRENT at the moment, marked: /* * XXX missing getpwnam_r() and getpwuid_r(). */ Qt tries to use this conditionally, using: #if defined(QT_TH