Complete.Org: Mailing Lists: Archives: freeciv-dev: August 1999:
Re: [Freeciv-Dev] patch: getting username (PR#109)
Home

Re: [Freeciv-Dev] patch: getting username (PR#109)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ablack@xxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Freeciv-Dev] patch: getting username (PR#109)
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Tue, 17 Aug 1999 11:44:59 +1000 (EST)

Andy Black wrote:
> At 5:34 AM -0700 8/16/99, David Pfitzner wrote:

> >- would it be useful to check for getpwuid() in configure?
> >  (Eg, on Win/Mac?)
> 
> That is a negative on the mac.  As far as I can tell, there is no such
> function call (sorry).

Ok, so I'll add the configure check (and entry in config.mac.h)
and all will be fine.

(That is, without this func freeciv will still be able to use
getenv("USER"), or failing that a made up name (eg "name0"); 
its only used for the default player name anyway.)

-- David

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