]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cut: use MCEL_LEN_MAX rather than MB_LEN_MAX
authorPádraig Brady <P@draigBrady.com>
Wed, 29 Apr 2026 10:48:15 +0000 (11:48 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 29 Apr 2026 12:16:21 +0000 (13:16 +0100)
commitdc723665b5edbb9ebe3d22dda76d0b77d3264c10
treeeb5917fc387aa5364c4199e1fb5a5e49e9b2216c
parent38cf97c1ff81895ca3c2b20ede817380e7004dcf
cut: use MCEL_LEN_MAX rather than MB_LEN_MAX

* src/cut.c: We use the mcel interface to populate these arrays,
so restrict to the mcel supported max.  This is more efficient
as generally stateful encodings are not used or supported.
src/cut.c