break trunk temporary - upgrade to 2.6.21.1 and iptables 1.3.7
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches / 904-ls_time_locale.patch
1 diff -Nur linux-2.6.21.1/scripts/gen_initramfs_list.sh linux-2.6.21.1-owrt/scripts/gen_initramfs_list.sh
2 --- linux-2.6.21.1/scripts/gen_initramfs_list.sh        2007-04-27 23:49:26.000000000 +0200
3 +++ linux-2.6.21.1-owrt/scripts/gen_initramfs_list.sh   2007-05-14 12:18:02.000000000 +0200
4 @@ -125,7 +125,7 @@
5                         str="${ftype} ${name} ${location} ${str}"
6                         ;;
7                 "nod")
8 -                       local dev=`LC_ALL=C ls -l "${location}"`
9 +                       local dev=`LC_ALL=C ls -l --time-style=locale "${location}"`
10                         local maj=`field 5 ${dev}`
11                         local min=`field 6 ${dev}`
12                         maj=${maj%,}
13 @@ -135,7 +135,7 @@
14                         str="${ftype} ${name} ${str} ${dev} ${maj} ${min}"
15                         ;;
16                 "slink")
17 -                       local target=`field 11 $(LC_ALL=C ls -l "${location}")`
18 +                       local target=`field 11 $(LC_ALL=C ls -l --time-style=locale "${location}")`
19                         str="${ftype} ${name} ${target} ${str}"
20                         ;;
21                 *)