Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2000:
[Freeciv-Dev] Re: [PATCH] Hostname lookups, third take. (PR#591)

[Freeciv-Dev] Re: [PATCH] Hostname lookups, third take. (PR#591)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] Hostname lookups, third take. (PR#591)
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Wed, 1 Nov 2000 19:16:26 -0800 (PST)

Gaute B Strokkenes <gs234@xxxxxxxxx> writes:

> [Cc'ed to bugs@xxxxxxxxxxx]
> Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx> writes:
> > On 22 Sep 2000, Gaute B Strokkenes wrote:
> > 
> > > 
> > > As promised, here is the (hopefully final) version of my hostname
> > > lookup patch.  It does the following:
> > > 
> > > * Consolidate all the code that looks up hostnames in one function,
> > >   look_up_host().
> > 
> > I modified your function slighly and cleaned up the comments...
> I just made an updated patch.  It contains the configure check and the
> stuff for common/ as well.

Ok, here's another patch.  It's the same as before, except that it
doesn't put the #include "config.h" stuff into all the .c files; it
uses a forward declaration to get around the problem instead.  This
is, off course, a kludge, and I think that using #include "config.h"
consistently is the the best way to guarantee that such problems do
not occur in the future.

Big Gaute                    

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: [PATCH] Hostname lookups, third take. (PR#591), Gaute B Strokkenes <=