wok annotate busybox/stuff/busybox-1.23-printable.u @ rev 18635

mediainfo: add build depends
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 27 10:38:59 2015 +0200 (2015-11-27)
parents
children
rev   line source
pascal@17518 1 fix the bug of 'ls cannot display utf-8 filenames'
pascal@17518 2 --- busybox-1.17.3/libbb/printable_string.c
pascal@17518 3 +++ busybox-printable/libbb/printable_string.c
pascal@17518 4 @@ -31,8 +31,8 @@
pascal@17518 5 }
pascal@17518 6 if (c < ' ')
pascal@17518 7 break;
pascal@17518 8 - if (c >= 0x7f)
pascal@17518 9 - break;
pascal@17518 10 + /* if (c >= 0x7f) */
pascal@17518 11 + /* break; */
pascal@17518 12 s++;
pascal@17518 13 }
pascal@17518 14
pascal@17518 15 @@ -45,7 +45,8 @@
pascal@17518 16 unsigned char c = *d;
pascal@17518 17 if (c == '\0')
pascal@17518 18 break;
pascal@17518 19 - if (c < ' ' || c >= 0x7f)
pascal@17518 20 + /* if (c < ' ' || c >= 0x7f) */
pascal@17518 21 + if (c < ' ')
pascal@17518 22 *d = '?';
pascal@17518 23 d++;
pascal@17518 24 }