summaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
authorCollin Funk <[email protected]>2025-08-27 18:33:37 -0700
committerCollin Funk <[email protected]>2025-08-28 18:57:13 -0700
commit89b9115da67d819e01b4aa541e4672b21e48b250 (patch)
tree3398a418b7b298bd543b72cdf347c7a0192f9cd7 /src/timeout.c
parent4b35a3b9201742ddff56062a13cf20ce4e9bc9be (diff)
downloadcoreutils-master.tar.gz
fold: fix handling of invalid multi-byte charactersHEADmaster
* src/fold.c (fold_file): Continue the loop when we have buffered bytes but nothing left to read from the file. (adjust_column): Don't assume that the character is printable. * tests/fold/fold-characters.sh: Add a new test case. (bad_unicode): New function.
Diffstat (limited to 'src/timeout.c')
0 files changed, 0 insertions, 0 deletions