[PATCH] 2.5.10 UTS_VERSION

Martin Dalecki (dalecki@evision-ventures.com)
Fri, 26 Apr 2002 09:33:44 +0200


This is a multi-part message in MIME format.
--------------010504050302060602020805
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8bit

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
~#

--------------010504050302060602020805
Content-Type: text/plain;
name="trivial-2.5.10.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="trivial-2.5.10.diff"

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 \

--------------010504050302060602020805--

-
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/