A locale question.
H.J. Lu
hjl@lucon.org
Mon Oct 19 08:32:00 GMT 1998
The POSIX testsuite defines some pseudo languages to test locale.
1. VSX4L0 only defines LC_CTYPE. Should LC_ALL work? I mean when a new
locale only defines the parts of LC_ALL, should it uses the rest
from the default one? It seems that the POSIX testsuite expects this
behavior. Who is correct?
2. It makes up some value for int_curr_symbol. glibc doesn't like it.
And glibc complains some other things.
# make -k
localedef -c -f lang0.ascii -i lang0.src VSX4L0
Computing table size for character classes might take a while... done
localedef -c -f lang1.ascii -i lang1.src VSX4L1
no definition of `UNDEFINED'
value of field `int_curr_symbol' in category `LC_MONETARY' does not correspond to a valid name in ISO 4217
field `grouping' in category `LC_NUMERIC' not defined
field `yesexpr' in category `LC_MESSAGES' undefined
field `noexpr' in category `LC_MESSAGES' undefined
Computing table size for character classes might take a while... done
Computing table size for collation information might take a while... done
make: *** [VSX4L1] Error 1
localedef -c -f lang2.ascii -i lang2.src VSX4L2
no definition of `UNDEFINED'
field `yesexpr' in category `LC_MESSAGES' undefined
field `noexpr' in category `LC_MESSAGES' undefined
Computing table size for character classes might take a while... done
Computing table size for collation information might take a while... done
make: *** [VSX4L2] Error 1
localedef -c -f lang3.ascii -i lang3.src VSX4L3
no definition of `UNDEFINED'
value of field `int_curr_symbol' in category `LC_MONETARY' does not correspond to a valid name in ISO 4217
field `grouping' in category `LC_NUMERIC' not defined
field `yesexpr' in category `LC_MESSAGES' undefined
field `noexpr' in category `LC_MESSAGES' undefined
Computing table size for character classes might take a while... done
Computing table size for collation information might take a while... done
make: *** [VSX4L3] Error 1
localedef -c -f lang3.ascii -i lang4.src VSX4L3@dict
no definition of `UNDEFINED'
field `yesexpr' in category `LC_MESSAGES' undefined
field `noexpr' in category `LC_MESSAGES' undefined
Computing table size for character classes might take a while... done
Computing table size for collation information might take a while... done
Thanks.
--
H.J. Lu (hjl@gnu.org)
More information about the Libc-hacker
mailing list