Update of bug #21547 (project freeciv):
Category: None => general
Status: None => Ready For Test
_______________________________________________________
Follow-up Comment #3:
Attached patch adds (similar to fallback pattern in net_lookup_service())
handling by inet_aton() if available. This fixes linux test case documented in
comment #1. While this doesn't fix inet_addr() based case, I don't see that as
a big problem:
- It's an fallback of an fallback (we use getaddrinfo() by default, falling
back to inet_aton(), falling back to inet_addr()). I don't think anybody will
ever actually try to use this code.
- If someone would use that code, similar construct in net_lookup_service() is
probably broken too and bigger problem - I've been about to remove that for a
long time - requiring at least inet_aton() should be no problem.
(file #19882)
_______________________________________________________
Additional Item Attachment:
File name: InetAtonFreePort.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21547>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev