[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: |
Gaute B Strokkenes <gs234@xxxxxxxxx> |
Date: |
Sat, 04 Aug 2001 02:05:35 +0200 |
On Thu, 2 Aug 2001, 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.
If we're going to use HAVE_PUTENV, then we should have putenv in
AC_CHECK_FUNCS in configure.in. Currently the gettext configury does
this for us, but it's poor form to rely on it.
--
Big Gaute http://www.srcf.ucam.org/~gs234/
UH-OH!! We're out of AUTOMOBILE PARTS and RUBBER GOODS!
|
|