Jeff King [off-list ref] writes:
Hmm. According to gettext(3):
ERRORS
errno is not modified.
And googling for "gettext" and "errno" reveals several bugfixes in GNU
gettext to make sure that gettext preserves errno. I wonder if there are
systems where that is not the case, though; I don't know what non-GNU
gettext implementations are in common use these days. I'd still be
curious to hear what platform the server is for this bug report.
Yes, I am also curious.
Regardless, we may need your "save_errno" patch if the bulk of it
may have to be made conditional on NEED_SAVE_ERRNO_IN_GETTEXT=YesPlease
or something.
Thanks for digging.