Follow-up Comment #5, bug #21547 (project freeciv):

- Add also gethostbyname() fallback. inet_addr() wasn't working as "localhost"
is unresolved name, not IP address like "127.0.0.1".

Tested all three implementations on linux by commenting macros out from
fc_config.h as needed.

(file #19895)
    _______________________________________________________

Additional Item Attachment:

File name: InetAtonFreePort-2.patch       Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21547>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to