[PATCH] 2.5.10 UTS_VERSION

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Fri Apr 26 2002 - 02:33:44 EST


Make sure UTS_VERSION is allways in "C" locale.
Without it you will get (please note the day of week):

~# export LANG=en_US
~# uname -a
Linux rosomak.prv 2.5.10 #1 pią kwi 26 09:31:52 CEST 2002 i686 unknown
~#

diff -urN linux-2.5.10/Makefile linux/Makefile
--- linux-2.5.10/Makefile 2002-04-24 12:01:52.000000000 +0200
+++ linux/Makefile 2002-04-26 02:06:38.000000000 +0200
@@ -312,8 +312,8 @@
         @echo -n \#define UTS_VERSION \"\#`cat .version` > .ver
         @if [ -n "$(CONFIG_SMP)" ] ; then echo -n " SMP" >> .ver; fi
         @if [ -f .name ]; then echo -n \-`cat .name` >> .ver; fi
- @echo ' '`date`'"' >> .ver
- @echo \#define LINUX_COMPILE_TIME \"`date +%T`\" >> .ver
+ @echo ' '`LANG=C date`'"' >> .ver
+ @echo \#define LINUX_COMPILE_TIME \"`LANG=C date +%T`\" >> .ver
         @echo \#define LINUX_COMPILE_BY \"`whoami`\" >> .ver
         @echo \#define LINUX_COMPILE_HOST \"`hostname`\" >> .ver
         @if [ -x /bin/dnsdomainname ]; then \

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



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:12 EST