lkml.org 
[lkml]   [2002]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] 2.5.10 UTS_VERSION
    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 \
    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:0.045 / U:59.924 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site