[PATCH] getnameinfo: Do not restore errno on error

Florian Weimer fweimer@redhat.com
Thu Apr 28 15:50:00 GMT 2016


On 04/28/2016 04:55 PM, Carlos O'Donell wrote:

>> I doubt applications which rely on a preserved errno value exist, and if
>> they do so, they are not portable, and can even break when tested with
>> cwrap/nss_wrapper.
>
> I agree with Andreas and Florian.

Thanks, I've pushed the patch.  It simplifies future cleanups—I want to 
split up getnameinfo into separate functions for host and service name 
processing.

Florian



More information about the Libc-alpha mailing list