[Xapian-tickets] [Xapian] #373: remotetcp tests all fail on MacOS X
Xapian
nobody at xapian.org
Mon May 18 22:18:58 BST 2009
#373: remotetcp tests all fail on MacOS X
------------------------+---------------------------------------------------
Reporter: ijansch | Owner: olly
Type: defect | Status: assigned
Priority: normal | Milestone: 1.0.13
Component: Test Suite | Version: 1.0.12
Severity: normal | Keywords:
Blockedby: | Platform: Mac OS X
Blocking: |
------------------------+---------------------------------------------------
Comment(by james):
Okay, solved this. BSDs have a length field in `struct sockaddr_in` and
similar which "currently" should be set to 0. (I'm guessing that on other
BSDs it is ignored?) So memset(&addr, 0, sizeof(addr)) on creation and all
is well. The changes in your patch aren't needed, because gethostbyname()
will not return ip6 addresses unless it's configured using RES_USE_INET6
(Stevens UNPv1 seems clear about this; man pages aren't).
--
Ticket URL: <http://trac.xapian.org/ticket/373#comment:13>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list