wok-current diff busybox/stuff/busybox-1.18-printable.u @ rev 8268
Fix: pack swrast drivers into mesa-dri
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 30 05:22:41 2011 +0100 (2011-01-30) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/busybox/stuff/busybox-1.18-printable.u Sun Jan 30 05:22:41 2011 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +fix the bug of 'ls cannot display utf-8 filenames' 1.5 +--- busybox-1.17.3/libbb/printable_string.c 1.6 ++++ busybox-printable/libbb/printable_string.c 1.7 +@@ -31,8 +31,8 @@ 1.8 + } 1.9 + if (c < ' ') 1.10 + break; 1.11 +- if (c >= 0x7f) 1.12 +- break; 1.13 ++ /* if (c >= 0x7f) */ 1.14 ++ /* break; */ 1.15 + s++; 1.16 + } 1.17 + 1.18 +@@ -45,7 +45,8 @@ 1.19 + unsigned char c = *d; 1.20 + if (c == '\0') 1.21 + break; 1.22 +- if (c < ' ' || c >= 0x7f) 1.23 ++ /* if (c < ' ' || c >= 0x7f) */ 1.24 ++ if (c < ' ') 1.25 + *d = '?'; 1.26 + d++; 1.27 + }