On 12/08/2014 07:24 AM, Eric Blake wrote:
It might make sense to have a variant of 'free' that preserves errno, >but we should probably give the variant a different name. 'noerr_free', >say.I'm not sure a variant is needed; if we can get glibc to guarantee the POSIX proposal now, then we would merely be guaranteeing sane behavior on all platforms.
Yes, that sounds right.