NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/58613: c*rtomb, mbrtoc* should have locale-parametric _l variants



>Number:         58613
>Category:       lib
>Synopsis:       c*rtomb, mbrtoc* should have locale-parametric _l variants
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 17 19:45:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The c32rtonetbsd_l Foundation
>Environment:
>Description:
The new functions

- c8rtomb, mbrtoc8
- c16rtomb, mbrtoc16
- c32rtomb, mbrtoc32

which are part of C11 (C23, for the c8 ones) should have variants

- c8rtomb_l, mbrtoc8_l
- c16rtomb_l, mbrtoc16_l
- c32rtomb_l, mbrtoc32_l

that take the locale as a parameter, like FreeBSD has.  This is a nonstandard extension but it's an obvious one.
>How-To-Repeat:
thinking about it
>Fix:
Yes, please!



Home | Main Index | Thread Index | Old Index