On 09/06/2012 01:06 AM, Jasper Lievisse Adriaanse wrote: > On Wed, Sep 05, 2012 at 03:59:10PM -0600, Eric Blake wrote: >> OpenBSD's <net/if.h> is not self-contained; this should compile: >> >> | #define _POSIX_C_SOURCE 200809L >> | #include <net/if.h> >> | struct if_nameindex i; >> >> but fails
>> * doc/posix-headers/net_if.texi (net/if.h): Document it. >> * MODULES.html.sh (lacking POSIX:2008): Likewise. >> * tests/test-net_if.c: Make function checks conditional. >> Reported by Jasper Lievisse Adriaanse <jas...@humppa.nl>. >> >> Signed-off-by: Eric Blake <ebl...@redhat.com> > > Although the entry in net_if.texi is correct for OpenBSD, it may be ammended > to include 5.2 too? As that is the version I'm testing with (OpenBSD > -current). That would indeed be possible, but in that case, it would probably be nice scrubbing ALL of doc/*/*.texi for each listing of an OpenBSD 5.1 bug, to see which bugs have been carried forward into 5.2 and which have been fixed in the meantime. I can push the one-liner for net_if.texi now, but without instant access to an OpenBSD 5.2 machine and a good chunk of testing time, it would be easier if you could help with that effort of updating documentation. (I am considering installing OpenBSD in a VM, but that will take me a while...) -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature