[Bug 266001] uniq says it's affected by LC_COLLATE, must not be according to POSIX

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Oct 2022 16:18:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266001

Baptiste Daroussin <bapt@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |Works As Intended

--- Comment #1 from Baptiste Daroussin <bapt@FreeBSD.org> ---
In your first link, I can read:

When using uniq to process pathnames, it is recommended that LC_ALL, or at
least LC_CTYPE and LC_COLLATE, are set to POSIX or C in the environment, since
pathnames can contain byte sequences that do not form valid characters in some
locales, in which case the utility's behavior would be undefined. In the POSIX
locale each byte is a valid single-byte character, and therefore this problem
is avoided.

which is also the justification for using back a strcoll (now wcscoll)
functions:
https://cgit.freebsd.org/src/commit/?id=e12155c8345909beaf654cc023f613a62b977db5

Am I missing something? if yes please reopen the PR.

-- 
You are receiving this mail because:
You are the assignee for the bug.