]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Make mkcompile_h use LANG=C and LC_ALL=C for $CC -v
authors situert <situert@yahoo.com>
Wed, 14 Feb 2007 08:32:55 +0000 (00:32 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:51 +0000 (08:09 -0800)
commitfe052492ebcb25da289ddb8bc92e3146ec4b9dd9
treeeb0fde9656bb44be83b3f39d734375f049915751
parente7ba65d6cd22899246e458b6a606942e34440cb1
[PATCH] Make mkcompile_h use LANG=C and LC_ALL=C for $CC -v

Fix a minor bug in mkcompile_h.  As one can see, the current locale is used
while getting the version of gcc.  This produces problems when a locale
other than C or en_US is used.  As an example, my /proc/version contains
Turkish characters in iso-8859-9 encoding.

This patch fixes this issue by making sure that the C locale is used to get
gcc's version.

Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/mkcompile_h