Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: [FreeCiv-Cvs] vasc: Replaced setenv() with putenv() si
Home

[Freeciv-Dev] Re: [FreeCiv-Cvs] vasc: Replaced setenv() with putenv() si

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] vasc: Replaced setenv() with putenv() since it is mo...
From: Reinier Post <rp@xxxxxxxxxx>
Date: Fri, 3 Aug 2001 11:25:09 +0200

On Thu, Aug 02, 2001 at 06:21:01PM -0700, freeciv@xxxxxxxxxxxxxxxxxxx wrote:
> This is an automated notification of a change to freeciv cvs, 
> on Thu Aug  2 18:13:36 PDT 2001 = Fri Aug  3 01:13:36 2001 (GMT)
> by Vasco Alexandre da Silva Costa <vasc@xxxxxxxxxxxxxx>
> 
> ---- Files affected:
> 
> freeciv/client/gui-gtk gui_main.c
> 
> ---- Log message:
> 
> Replaced setenv() with putenv() since it is more portable. Also added 
> an #ifdef to check for function availability and a cast to a NULL
> pointer passed to a function.
> 
> Patch by Paul Zastoupil <paulz@xxxxxxxxxxxx>.

This reminds me of a feature request for 1.12.0.

Is it possible to putenv the Freeciv installation directory into $HOME,
when it is unset, for the benefit of Windows users?

-- 
Reinier


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