This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] getnameinfo: Do not restore errno on error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]