wok annotate busybox/stuff/busybox-1.22-printable.u @ rev 16980
Add exempi and exempi-dev
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Aug 07 00:46:10 2014 -0300 (2014-08-07) |
parents | |
children |
rev | line source |
---|---|
pascal@15734 | 1 fix the bug of 'ls cannot display utf-8 filenames' |
pascal@15734 | 2 --- busybox-1.17.3/libbb/printable_string.c |
pascal@15734 | 3 +++ busybox-printable/libbb/printable_string.c |
pascal@15734 | 4 @@ -31,8 +31,8 @@ |
pascal@15734 | 5 } |
pascal@15734 | 6 if (c < ' ') |
pascal@15734 | 7 break; |
pascal@15734 | 8 - if (c >= 0x7f) |
pascal@15734 | 9 - break; |
pascal@15734 | 10 + /* if (c >= 0x7f) */ |
pascal@15734 | 11 + /* break; */ |
pascal@15734 | 12 s++; |
pascal@15734 | 13 } |
pascal@15734 | 14 |
pascal@15734 | 15 @@ -45,7 +45,8 @@ |
pascal@15734 | 16 unsigned char c = *d; |
pascal@15734 | 17 if (c == '\0') |
pascal@15734 | 18 break; |
pascal@15734 | 19 - if (c < ' ' || c >= 0x7f) |
pascal@15734 | 20 + /* if (c < ' ' || c >= 0x7f) */ |
pascal@15734 | 21 + if (c < ' ') |
pascal@15734 | 22 *d = '?'; |
pascal@15734 | 23 d++; |
pascal@15734 | 24 } |