[Bug 291227] C99 localeconv(3) grouping/mon_grouping

[email protected] Wed, 26 Nov 2025 06:53:48 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291227

            Bug ID: 291227
           Summary: C99 localeconv(3) grouping/mon_grouping
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: standards
          Assignee: [email protected]
          Reporter: [email protected]

Given the attached MWE program, I would expect the output to be:

C locale
    grouping: [], expected []
mon_grouping: [], expected []

en_US.UTF-8
    grouping: [3], expected [3]
mon_grouping: [3], expected [3]

The program modifies the structure pointed to by the value returned by the
localeconv function (7.11.2.1).

Attached is a possible fix.  However, I'd like to confirm that this is indeed
what's expected.

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