On 10/11/2013 08:06 AM, Doug Goldstein wrote: > Since 5a468b38b6 we use SOL_LOCAL for the 2nd argument of getsockopt() > however Lion added the define SOL_LOCAL set to 0, which is the value to > the 2nd argument of getsockopt() for Unix sockets on Mac OS X. So > instead of using the define just pass 0 so we restore compatibility > with Snow Leopard and Leopard. > > Reported at https://github.com/mxcl/homebrew/pull/23141 > --- > v2: > * Refactored ifdef outside of the function and create a define for the > second argument of getsockopt(). > --- > src/rpc/virnetsocket.c | 23 ++++++++++++++++++----- > 1 file changed, 18 insertions(+), 5 deletions(-) Love how it turned out (then again, I helped half-write it :) ACK. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list