about summary refs log tree commit diff
path: root/locale/programs/linereader.c
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2017-10-13 14:33:09 -0700
committerCarlos O'Donell <carlos@systemhalted.org>2017-10-13 22:30:19 -0700
commita3e23a2c1d9e871545c6f438a41fcb8ad429cf70 (patch)
tree4852c4d05471bf014dac09eeaaf30c568124f135 /locale/programs/linereader.c
parentf16491eb8ebbef402f3da6f4035ce70fe36dec97 (diff)
downloadglibc-a3e23a2c1d9e871545c6f438a41fcb8ad429cf70.tar.gz
glibc-a3e23a2c1d9e871545c6f438a41fcb8ad429cf70.tar.xz
glibc-a3e23a2c1d9e871545c6f438a41fcb8ad429cf70.zip
locale: Allow "" int_curr_Symbol (bug 22294)
The builtin POSIX locale has "" as the international currency symbol,
but a non-builtin locale may not have such a blank int_curr_symbol.

Therefore to support non-builtin locales with similar "" int_curr_symbol
we adjust the LC_MONETARY parser to allow the normal 4-character
int_curr_symbol *and* the empty "" no symbol. Anything else remains
invalid.

Tested by building all the locales.  Tested also with a custom C.UTF-8
locale with "" for int_curr_symbol.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'locale/programs/linereader.c')
0 files changed, 0 insertions, 0 deletions