Update Musl Libc code

We now have implement all of Musl's localization code, the same way that
Musl implements localization. You may need setlocale(LC_ALL, "C.UTF-8"),
just in case anything stops working as expected.
This commit is contained in:
Justine Tunney 2024-07-30 09:14:57 -07:00
parent d0360bf4bd
commit bb815eafaf
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
116 changed files with 6525 additions and 5523 deletions

View file

@ -40,7 +40,7 @@ void GetAddr2linePathInit(void) {
char *res;
int e = errno;
const char *env, *cmd, *path;
if ((env = getenv("ADDR2LINE"))) {
if ((env = secure_getenv("ADDR2LINE"))) {
cmd = env;
path = env;
} else {