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: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Freeciv-Dev] patch: getting username (PR#109)
From: Andy Black <ablack@xxxxxxxxxxxxxx>
Date: Mon, 16 Aug 1999 18:50:28 -0600

At 5:34 AM -0700 8/16/99, David Pfitzner wrote:
>This patch moves the check for the user's username into
>a function user_username() in shared.c.  It also removes
>the "please report this" note if getpwuid() fails, and
>also tries getenv $USER (actually, now before getpwuid()).
>
>(Also small reorder in gui-gtk to call user_username()
>only after log_init().)
>
>Questions:
>- 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).

Andy




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