Re: BUG: nconfig doesn't preserve case in its menu display

From: Ãvar ArnfjÃrà Bjarmason
Date: Tue Aug 17 2010 - 00:02:17 EST


On Tue, Aug 17, 2010 at 02:45, Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:
> ä 2010å08æ17æ 05:04, Ãvar ArnfjÃrà Bjarmason åé:
>> When I do "make nconfig" and go to "General Setup" my "Local version -
>> append to kernel release" entry appears as:
>>
>> Â Â (-avar-akbar) Local version - append to kernel release
>>
>> When I use "make menuconfig" it's:
>>
>> Â Â (-Avar-Akbar) Local version - append to kernel release
>>
>> And my .config agrees:
>>
>> Â Â $ ack -n1 CONFIG_LOCALVERSION .config
>> Â Â CONFIG_LOCALVERSION="-Avar-Akbar"
>>
>> But when I edit the version string in both menuconfig and nconfig it
>> retains the correct casing.
>>
>> I briefly searched through the nconfig code, but couldn't find
>> anything pertinent to the localversion, so this is probably a more
>> general issue.
>
> The bug is in make_hot(). Here is the fix:

That fixes the issue with strings inside (), but now e.g. "General
setup" on the main screen will be "GEneral setup".
--
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/