Re: [tip:x86/urgent] Makefile: set LC_CTYPE, LC_COLLATE, LC_NUMERICto C

From: Masami Hiramatsu
Date: Thu Dec 17 2009 - 18:54:31 EST


H. Peter Anvin wrote:
> On 12/17/2009 03:44 PM, Masami Hiramatsu wrote:
>> Roland Dreier wrote:
>>>
>>> > btw, something went wrong with it...
>>>
>>> > make[3]: `scripts/unifdef' ???????
>>>
>>> > when I ran with LC_ALL=C, it shows message correctly.
>>>
>>> > make[3]: `scripts/unifdef' is up to date.
>>>
>>> Do you have LANG and/or LC_MESSAGES set? LC_ALL will override all other
>>> locale settings, so hpa explicitly unset it so that the other LC_xxx
>>> variables will be used. But it means your environment's LC_MESSAGES (or
>>> LANG if LC_MESSAGES is not set) will be used.
>>
>> Actually, I haven't touched it (I just installed Fedora11).
>> And I think most of users don't set it too.
>>
>
> Fedora will typically set LANG. Do:
>
> printenv | egrep '^(LANG|LC_)'
>
> ... to verify.

Ah, yes. it sets the LANG.

$ env | grep LANG
LANG=ja_JP.UTF-8

Thanks,

--
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division

e-mail: mhiramat@xxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/