wok-current annotate busybox/stuff/busybox-1.18-printable.u @ rev 9900
ecj: fix .jar path
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 11:50:45 2011 +0200 (2011-05-17) |
parents | |
children |
rev | line source |
---|---|
pascal@8238 | 1 fix the bug of 'ls cannot display utf-8 filenames' |
pascal@8238 | 2 --- busybox-1.17.3/libbb/printable_string.c |
pascal@8238 | 3 +++ busybox-printable/libbb/printable_string.c |
pascal@8238 | 4 @@ -31,8 +31,8 @@ |
pascal@8238 | 5 } |
pascal@8238 | 6 if (c < ' ') |
pascal@8238 | 7 break; |
pascal@8238 | 8 - if (c >= 0x7f) |
pascal@8238 | 9 - break; |
pascal@8238 | 10 + /* if (c >= 0x7f) */ |
pascal@8238 | 11 + /* break; */ |
pascal@8238 | 12 s++; |
pascal@8238 | 13 } |
pascal@8238 | 14 |
pascal@8238 | 15 @@ -45,7 +45,8 @@ |
pascal@8238 | 16 unsigned char c = *d; |
pascal@8238 | 17 if (c == '\0') |
pascal@8238 | 18 break; |
pascal@8238 | 19 - if (c < ' ' || c >= 0x7f) |
pascal@8238 | 20 + /* if (c < ' ' || c >= 0x7f) */ |
pascal@8238 | 21 + if (c < ' ') |
pascal@8238 | 22 *d = '?'; |
pascal@8238 | 23 d++; |
pascal@8238 | 24 } |