mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
We can only byte search with uni-byte or utf-8. utf-8 implicitly can't false match a delimiter at buffer boundary. So don't worry about finding the exact utf8 boundary at end of buffer, rather just ensuring the buffer always starts with a valid character (by ensuring MCEL_LEN_MAX-1 moved to start of buffer on each refill).