[Toybox] [PATCH] nuke wcrtomb()

Oliver Webb aquahobbyist at proton.me
Tue Apr 9 14:54:15 PDT 2024


Not pulling in 2 localization functions (One from libc, one from lib.c) reduces executable
size, also more portable on glibc systems because locale installation nonsense. No
typecasting to int's either.

15 bytes saved in bloatcheck. tests pass for everything with changes applied (Except the shell).

-   Oliver Webb <aquahobbyist at proton.me>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Nuke-wcrtomb-since-we-have-our-own-wctoutf8.patch
Type: text/x-patch
Size: 2817 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240409/ee100f6c/attachment.bin>


More information about the Toybox mailing list