[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: update-game-score

From: Eli Zaretskii
Subject: Re: update-game-score
Date: Sat, 06 Apr 2002 20:03:45 +0300

> From: Jason Rumney <address@hidden>
> Date: 06 Apr 2002 10:32:23 +0100
> "Eli Zaretskii" <address@hidden> writes:
> > 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.
> Can getpwuid etc be emulated on MSDOS and Mac as they are on Windows?

DJGPP already has getpwuid in its library, so the problem doesn't
exist in the MS-DOS port.

If Windows doesn't have this problem, then I guess we only need to
worry about Unix systems that don't have this function.  I don't know
whether this is a practical consideration, just that the previous
Posix standard didn't define it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]