|
Description
|
The runtime linker may respect the setting of LANG and LC_MESSAGES
more than the one of LC_ALL environ. For example:
% unsetenv LANG LC_ALL LC_MESSAGES
% env LANG=ja LC_ALL=C ldd -s /bin/ls
Then, the output will be in Japanese, that is the ja locale
has been used.
Funny thing is if specifying LC_ALL=C before LANG=ja in the command line:
% env LC_ALL=C LANG=ja ldd -s /bin/ls
Then, the output will be correctly in English, that is the C locale
has been used.
Regardless of the order of the specification and the existence of LANG
and LC_MESSAGES, the setting of LC_ALL should always be taken.
This problem affects the behavior of the bfu utility because it depends
on the output of ldd -s.
|