On 04/24/2014 06:55 AM, Eric Blake wrote: > On 04/24/2014 06:49 AM, Andreas Färber wrote: >> POSIX specifies that address_len shall on output specify the length of >> the stored address; it does not however specify whether it may get >> updated on failure as well to, e.g., zero. > > Your reading of POSIX leaving the value undefined matches mine. It may > indeed be worth a report to the POSIX folks to see if that should be > tightened in the future to guarantee that it is unchanged on failure, > but we can't rely on that now.
FYI - I filed that enhancement request: http://austingroupbugs.net/view.php?id=836 -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature