mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
e35d42e890
Patches applied upstream and dropped: 280-fix_find_regression.patch 300-ip-addr-improvements.patch Fixed upstream: 290-ash-fix-a-regression-in-handling-local-variables.patch (see thread: http://lists.busybox.net/pipermail/busybox/2015-April/082783.html) Signed-off-by: Magnus Kroken <mkroken@gmail.com> SVN-Revision: 47288
21 lines
388 B
Diff
21 lines
388 B
Diff
--- a/libbb/printable_string.c
|
|
+++ b/libbb/printable_string.c
|
|
@@ -28,8 +28,6 @@ const char* FAST_FUNC printable_string(u
|
|
}
|
|
if (c < ' ')
|
|
break;
|
|
- if (c >= 0x7f)
|
|
- break;
|
|
s++;
|
|
}
|
|
|
|
@@ -42,7 +40,7 @@ const char* FAST_FUNC printable_string(u
|
|
unsigned char c = *d;
|
|
if (c == '\0')
|
|
break;
|
|
- if (c < ' ' || c >= 0x7f)
|
|
+ if (c < ' ')
|
|
*d = '?';
|
|
d++;
|
|
}
|