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] locale: Fix localedef exit code [BZ #22292]


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


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