diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-27 21:34:57 -0600 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-02-07 12:41:16 -0500 |
commit | 8d82971775343f3c52294e957c52ad1f758395ef (patch) | |
tree | 57b1d12632c339680b8f33935159c82623741b02 /include/arpa/inet.h | |
parent | 1691b23955590d1eb66a11158fdd91c86337e886 (diff) | |
download | musl-8d82971775343f3c52294e957c52ad1f758395ef.tar.gz musl-8d82971775343f3c52294e957c52ad1f758395ef.tar.bz2 musl-8d82971775343f3c52294e957c52ad1f758395ef.tar.xz musl-8d82971775343f3c52294e957c52ad1f758395ef.zip |
locale: ensure dcngettext() preserves errno
Some packages call gettext to format a message to be sent to perror.
If the currently set user locale points to a non-existent .mo file,
open via __map_file in dcngettext will set errno to ENOENT.
Maintainer's notes: Non-modification of errno is a documented part of
the interface contract for the GNU version of this function and likely
other versions. The issue being fixed here seems to be a regression
from commit 1b52863e244ecee5b5935b6d36bb9e6efe84c035, which enabled
setting of errno from __map_file.
Diffstat (limited to 'include/arpa/inet.h')
0 files changed, 0 insertions, 0 deletions