Re: [Freeciv-Dev] patch: getting username (PR#109)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|