Files
coreutils/tests
Paul Eggert 74b9d6a6e8 uniq: fix bug with -w in multibyte locales
-w counted bytes not characters, which is wrong in multibyte locales.
This bug exists even in Fedora, which is why the recently-added
test cases from Fedora didn’t catch it.
* src/uniq.c (find_field): New arg PLEN.  All callers changed.
Compute length of field correctly in multi-byte locales.
(different): Don’t worry about check_chars; find_field now does that.
* tests/uniq/uniq.pl: Test for this bug.
2023-11-16 11:37:25 -08:00
..
2023-11-16 11:37:25 -08:00
2023-04-16 16:11:20 +01:00
2023-11-16 11:37:25 -08:00
2023-11-16 11:37:25 -08:00
2023-08-19 16:45:17 +01:00
2023-09-20 15:53:34 +01:00
2023-09-23 00:28:27 -07:00