]> git.ipfire.org Git - thirdparty/coreutils.git/commit
numfmt: use multi-byte aware suffix matching
authorPádraig Brady <P@draigBrady.com>
Sat, 18 Oct 2025 12:02:44 +0000 (13:02 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 18 Oct 2025 19:03:57 +0000 (20:03 +0100)
commite5d7764386c173a37106002c6bc800866d4125e9
treed61bd65c5e529ee9a406f67d4ced6b40f7931caa
parent770078e315232b49c0e113152a469df4df1e5f4d
numfmt: use multi-byte aware suffix matching

* src/numfmt.c (process_suffixed_number): Use gnulib's
mbs_endswith() helper, which is more robust in non UTF-8 locales.
Also always output a devmsg if a suffix is specified.
bootstrap.conf
src/numfmt.c