[Bug 172215] localeconv() grouping appears not to match POSIX

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 10 18:56:35 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=172215

Yuri Pankov <yuripv at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yuripv at FreeBSD.org

--- Comment #3 from Yuri Pankov <yuripv at FreeBSD.org> ---
I stumbled upon this issue while looking into locale(1) reporting incorrect
values (i.e. 127 instead of -1 for a lot of keywords), and indeed localeconv()
returns not what one would expect reading
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html.

For the locale(1), I'll just check for 127, but for the ports, I doubt the
fallout from fixing this could ever be tested by exp-run as a lot of projects
could just #ifdef us and expect "\177", those would still compile, but
misbehave.

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


More information about the freebsd-standards mailing list