Change #259885
| Category | gcoreutils |
| Changed by | Pádraig Brady <P@draigBrady.com> |
| Changed at | Wed 04 Mar 2026 18:45:57 |
| Repository | git://git.savannah.gnu.org/coreutils.git |
| Project | gcoreutils |
| Branch | master |
| Revision | a85e9182b1d173c26205dada54133cd9e9174fc1 |
Comments
fold: fix output truncation with 0xFF bytes in input On signed char platforms, 0xFF was converted to -1 which matches MBBUF_EOF, causing fold to stop processing. * NEWS: Mention the bug fix. * gl/lib/mbbuf.h: Avoid sign extension on signed char platforms. * tests/fold/fold-characters.sh: Adjust test case. Reported at https://src.fedoraproject.org/rpms/coreutils/pull-request/20
Changed files
- NEWS
- gl/lib/mbbuf.h
- tests/fold/fold-characters.sh