#6200: getaddrinfo() not correctly accepting some flag combinations ------------------------------+--------------------------------------------- Reporter: anevilyak | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Network Kit | Version: R1/Development Keywords: | Blockedby: Patch: 0 | Platform: All Blocking: | ------------------------------+--------------------------------------------- Comment(by anevilyak): Had a look, and it looks like a number of our AI_* defines are either bogus or out of date. Unfortunately I'm uncertain where our getaddrinfo() actually came from, though its code looks near identical to that used in FreeBSD. Our netdb.h looks quite different though as far as the AI_* defines go. Ours has AI_MASK (used to validate the flags in getaddrinfo()) hardwired to 0x00000007 for some reason, whereas FreeBSD's looks like: {{{ #define AI_MASK \ (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV | \ AI_ADDRCONFIG) }}} Also, some of the other AI_* values differ between us and FreeBSD's, though I'm uncertain if that's due to theirs simply being a newer revision or what. In any case, what would be the best course of action to update this, since I'm uncertain if our current libbind source is vendor branched somewhere? -- Ticket URL: <http://dev.haiku-os.org/ticket/6200#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.