Martin Wilck <[EMAIL PROTECTED]> writes:

> Very true. Perhaps the practical way would be to assume
> HAVE_GETPWUID == HAVE_GETPWNAM and see whether someone with
> a really strange platform complains (but see below).

There's no reason to do that, it's trivial to check for both. If you
use getpwnam() check for HAVE_GETPWNAM, if you use getpwuid() check
for HAVE_GETPWUID. Simple, logical, and works even on strange
platforms.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to