[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 06 Apr 2002 11:18:21 +0300
IMHO, this code needs to take non-Posix platforms into consideration,
unless the intent is to run it only on Unix and GNU/Linux systems.
If non-Posix systems are relevant, you should be aware that <pwd.h>
and the getpwuid function are not universally available. In fact,
AFAIK, getpwuid wasn't even part of Posix until very recently, so some
older Posix systems might not have it as well. So some
autoconfiscation or system-dependent ifdef's are in order.
Eli Zaretskii <=