1234567891011121314151617181920 |
- --- a/libbb/printable_string.c
- +++ b/libbb/printable_string.c
- @@ -28,8 +28,6 @@ const char* FAST_FUNC printable_string2(
- }
- if (c < ' ')
- break;
- - if (c >= 0x7f)
- - break;
- s++;
- }
-
- @@ -42,7 +40,7 @@ const char* FAST_FUNC printable_string2(
- unsigned char c = *d;
- if (c == '\0')
- break;
- - if (c < ' ' || c >= 0x7f)
- + if (c < ' ')
- *d = '?';
- d++;
- }
|