[Freeciv-Dev] [PATCH] Hostname lookups, third take.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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().
* Eliminate the isdigit(hostname[0]) bug.
* Include config.h in all .c files, since no one screamed when I
suggested this.
* Attempts to deal correctly with all combinations of RFCs 2133, 2553,
IPv4 and IPv6. Rationales for doing things the way that they have
been done are in the source.
After applying this patch you should:
* Add a configure test for inet_aton(). (I tested it by defining
HAVE_INET_ATON directly.)
* Modify common/create_lsend.pl to include config.h . (I didn't do
this since I don't do perl.)
host_lookup-3.diff
Description: Text Data
--
Big Gaute (not to be confused with LG)
The SAME WAVE keeps coming in and COLLAPSING like a rayon MUU-MUU..
- [Freeciv-Dev] [PATCH] Hostname lookups, third take.,
Gaute B Strokkenes <=
|
|