lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 8 Feb 2007 06:39:12 +0100 From: Oleg Verych <olecom@...wer.upol.cz> To: Andrew Morton <akpm@...ux-foundation.org> Cc: situert@...oo.com, LKML <linux-kernel@...r.kernel.org> Subject: + make-mkcompile_h-use-lang=c-and-lc_all=c-for-cc-v.patch > make-mkcompile_h-use-lang=c-and-lc_all=c-for-cc-v.patch [] > 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. Files in C must be in ASCII. Thus, my proposition is to "export LC_ALL=C LANG=C" first, and remove any all other "LC_ALL=C LANG=C", to have "compile.h" in it. @@ -58,7 +58,7 @@ UTS_TRUNCATE="sed -e s/\(.\{1,$UTS_LEN\} echo \#define LINUX_COMPILE_DOMAIN fi - echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | tail -n 1`\" + echo \#define LINUX_COMPILER \"`LC_ALL=C LANG=C $CC -v 2>&1 | tail -n 1`\" ) > .tmpcompile # Only replace the real compile.h if the new one is different, _ Patches currently in -mm which might be from situert@...oo.com are make-mkcompile_h-use-lang=c-and-lc_all=c-for-cc-v.patch - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists