Module Name: src Committed By: riastradh Date: Sat Aug 17 21:24:54 UTC 2024
Modified Files: src/include: uchar.h src/lib/libc/include: namespace.h src/lib/libc/locale: c16rtomb.c c32rtomb.c c8rtomb.c mbrtoc16.c mbrtoc32.c mbrtoc8.c Log Message: libc: Add _l variants of the cNrtomb and mbrtocN functions. These accept an explicit locale parameter, rather than using the current locale. Visible under _NETBSD_SOURCE, not exposed otherwise. NOTE: This adds libc symbols. Riding the libc minor bump for the non-_l variants of these from two days ago -- hope that's not pushing it too far. PR lib/58613: c*rtomb, mbrtoc* should have locale-parametric _l variants To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/include/uchar.h cvs rdiff -u -r1.204 -r1.205 src/lib/libc/include/namespace.h cvs rdiff -u -r1.4 -r1.5 src/lib/libc/locale/c16rtomb.c cvs rdiff -u -r1.2 -r1.3 src/lib/libc/locale/c32rtomb.c cvs rdiff -u -r1.3 -r1.4 src/lib/libc/locale/c8rtomb.c \ src/lib/libc/locale/mbrtoc8.c cvs rdiff -u -r1.5 -r1.6 src/lib/libc/locale/mbrtoc16.c \ src/lib/libc/locale/mbrtoc32.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.