wok annotate busybox/stuff/busybox-1.21-printable.u @ rev 14748
busybox: add musl & dietlibc patchs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 16 15:26:17 2013 +0200 (2013-06-16) |
parents | |
children |
rev | line source |
---|---|
pascal@13905 | 1 fix the bug of 'ls cannot display utf-8 filenames' |
pascal@13905 | 2 --- busybox-1.17.3/libbb/printable_string.c |
pascal@13905 | 3 +++ busybox-printable/libbb/printable_string.c |
pascal@13905 | 4 @@ -31,8 +31,8 @@ |
pascal@13905 | 5 } |
pascal@13905 | 6 if (c < ' ') |
pascal@13905 | 7 break; |
pascal@13905 | 8 - if (c >= 0x7f) |
pascal@13905 | 9 - break; |
pascal@13905 | 10 + /* if (c >= 0x7f) */ |
pascal@13905 | 11 + /* break; */ |
pascal@13905 | 12 s++; |
pascal@13905 | 13 } |
pascal@13905 | 14 |
pascal@13905 | 15 @@ -45,7 +45,8 @@ |
pascal@13905 | 16 unsigned char c = *d; |
pascal@13905 | 17 if (c == '\0') |
pascal@13905 | 18 break; |
pascal@13905 | 19 - if (c < ' ' || c >= 0x7f) |
pascal@13905 | 20 + /* if (c < ' ' || c >= 0x7f) */ |
pascal@13905 | 21 + if (c < ' ') |
pascal@13905 | 22 *d = '?'; |
pascal@13905 | 23 d++; |
pascal@13905 | 24 } |