From: Eric Wong <normalperson@yhbt.net>
To: kgio@librelist.com
Subject: Re: Fixes for OpenBSD
Date: Thu, 5 May 2011 12:33:36 -0700 [thread overview]
Message-ID: <20110505193336.GA28700@dcvr.yhbt.net> (raw)
In-Reply-To: 20110505192916.GF9693@jeremyevans.local
Jeremy Evans <code@jeremyevans.net> wrote:
> > I'm not sure why OpenBSD differs from POSIX here:
> > http://pubs.opengroup.org/onlinepubs/009695399/functions/getaddrinfo.html
> >
> > Even though PF_UNSPEC == AF_UNSPEC in most systems, I'd rather go with
> > the following patch and single out OpenBSD (and maybe other *BSDs) since
> > "AF_" (address family) makes more sense than "PF_" (protocol family):
>
> It looks like the AF_UNSPEC -> PF_UNSPEC is not necessary, they must be
> defined to the same thing. Why the OpenBSD man page recommends
> PF_UNSPEC, I'm not sure. It looks like the memset was the necessary
> fix.
OK, thanks!
--
Eric Wong
next prev parent reply other threads:[~2011-05-05 19:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 18:18 Fixes for OpenBSD Jeremy Evans
2011-05-05 18:45 ` Eric Wong
2011-05-05 19:29 ` Jeremy Evans
2011-05-05 19:33 ` Eric Wong [this message]
2011-05-05 19:35 ` Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/kgio/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110505193336.GA28700@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=kgio@librelist.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/kgio.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).