]> git.ipfire.org Git - thirdparty/coreutils.git/commit
df: avoid multibyte character corruption on macOS
authorChih-Hsuan Yen <yan12125@gmail.com>
Sat, 21 Jul 2018 20:19:23 +0000 (13:19 -0700)
committerPádraig Brady <P@draigBrady.com>
Thu, 26 Jul 2018 17:24:41 +0000 (10:24 -0700)
commit437555061ca94fb009cdf0e96b3368f00de95f1e
tree586674381a66d21e22f519347063ad3835a0af00
parent46d6bd0c0a52929a606cf339e4cd933e3ce83e3a
df: avoid multibyte character corruption on macOS

* src/df.c (hide_problematic_chars): Use c_iscntrl() as
passing 8 bit characters to iscntrl() is not supported on macOS.
* NEWS: Mention the bug fix.
Fixes https://bugs.gnu.org/32236
NEWS
src/df.c