mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
9b9274342c
Update busybox to 1.30.0. Refresh patches. Leave new features disabled by default. Config refreshed via: cd package/utils/busybox/config/ ../convert_menuconfig.pl ../../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-1.30.0 make package/busybox/compile cd package/utils/busybox ./convert_defaults.pl < ../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-1.30.0/.config > Config-defaults.in Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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_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++;
|
|
}
|