[Toybox] [PATCH] Fix setlocale() calls on macOS.

enh enh at google.com
Fri Dec 11 15:00:50 PST 2020


This reverts part of 75b89012c90470a27d66b54ad89901b94fcfd169.
Always supporting UTF-8 is a good idea, but you need to be careful
how you try to do that on macOS. The previous comment obviously
didn't suffice to make that clear, so I've been a bit more verbose
this time.

This fixes multiple existing tests.
---
 main.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20201211/ae1390c5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-setlocale-calls-on-macOS.patch
Type: application/octet-stream
Size: 1468 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20201211/ae1390c5/attachment-0002.obj>


More information about the Toybox mailing list