aboutsummaryrefslogtreecommitdiff
path: root/toys/other/shred.c
diff options
context:
space:
mode:
authorJarno Mäkipää <jmakip87@gmail.com>2019-10-10 00:06:03 +0300
committerRob Landley <rob@landley.net>2019-10-09 21:18:30 -0500
commit52422388520e4bf82e56a4cce3f2c2076cbed834 (patch)
tree79e2b18852aa5148f1df63c908763a3910d1a2b4 /toys/other/shred.c
parent8440d9b29fa8faed432bb20ec031bb5e72f0bea9 (diff)
downloadtoybox-52422388520e4bf82e56a4cce3f2c2076cbed834.tar.gz
ls: fix seqfault on broken locale
When user builds toybox CFG_TOYBOX_I18N disabled and tries to list folder contents with multibyte characters other than UTF-8 ls might seqfault since wcrtomb returns -1 while locale set to fi_FI-UTF-8 disable CFG_TOYBOX_I18N touch őőőőaaőő ls
Diffstat (limited to 'toys/other/shred.c')
0 files changed, 0 insertions, 0 deletions