diff options
author | Denys Vlasenko | 2009-11-18 11:34:43 +0100 |
---|---|---|
committer | Denys Vlasenko | 2009-11-18 11:34:43 +0100 |
commit | 8684cbb5cc2c461e3795fba19ad7386db37cf499 (patch) | |
tree | 027d4aa55cfa710769c86c2aca838fbba3e3dbe9 /miscutils | |
parent | 5b0a7f1a6e66af3f1ff4159d4eb96c30517782b8 (diff) | |
download | busybox-8684cbb5cc2c461e3795fba19ad7386db37cf499.zip busybox-8684cbb5cc2c461e3795fba19ad7386db37cf499.tar.gz |
libbb: robustify isXXXX(). +39 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c index fea9edb..b4c5854 100644 --- a/miscutils/strings.c +++ b/miscutils/strings.c @@ -49,7 +49,7 @@ int strings_main(int argc UNUSED_PARAM, char **argv) count = 0; do { c = fgetc(file); - if (isprint(c) || c == '\t') { + if (isprint_asciionly(c) || c == '\t') { if (count > n) { bb_putchar(c); } else { |