[PATCH] locale: Fix localedef exit code [BZ #22292]
Joseph Myers
joseph@codesourcery.com
Mon Oct 16 17:32:00 GMT 2017
On Mon, 16 Oct 2017, Carlos O'Donell wrote:
> /* Test of ASCII compatibility of locale encoding.
>
> Verify that the encoding to be used in a locale is ASCII compatible,
> at least for the graphic characters, excluding the control characters,
> '$' and '@'. This constraint comes from an ISO C 99 restriction.
The character '`' is also not part of the ISO C basic character sets. (It
looks like that's a bug in the comment, not mentioning ` as excluded
alongwide $ and @.)
I agree with Florian that a command-line option to ignore this warning
(treat it as a verbose message not affecting exit status) is appropriate.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list