[PATCH] resolv: add IPv6 support to inet_net_pton()
Andreas Schwab
schwab@suse.de
Tue Mar 19 09:50:14 GMT 2024
On Mär 19 2024, Job Snijders wrote:
> The proposal at hand does save errno at the start and restores it at the
> end to avoid unnecessary stomping on errno (if nothing bad happened).
Sorry, I missed that.
> I’m not entirely sure how removing the idiomatic check helps in that
> regard? I might be missing something.
It's still unnecessary code that makes it harder to understand, which is
bad.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list