[Toybox] [PATCH] main.c: fix UTF-8 on macOS.

enh enh at google.com
Tue Jan 5 16:34:35 PST 2021


(answered on the original thread.)

On Sat, Dec 19, 2020 at 7:13 PM Rob Landley <rob at landley.net> wrote:

> On 12/19/20 3:41 PM, scsijon wrote:
> > EDIT: apparently it was supposedly removed and your suppose to use
> locale.h
> > instead.
> >
> > https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html
> > <https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html>
> >
> > The nonstandard header <xlocale.h> has been removed. Most programs should
> > use <locale.h> instead. If you have a specific need for the definition of
> > locale_t with no other declarations, please contact
> > libc-alpha at sourceware.org <mailto:libc-alpha at sourceware.org> and
> explain.
>
> toys.h was already including locale.h, so why did this patch add
> xlocale.h? What
> didn't work (on what platform) without the extra header?
>
> Rob
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210105/a3b931e7/attachment-0001.htm>


More information about the Toybox mailing list