mirror of
https://github.com/fluencelabs/musl
synced 2025-07-31 06:11:57 +00:00
bring back ___environ symbol (3 underscores)
its existence doesn't hurt anything, and dynamic-linked binaries using previous versions of musl were wrongly binding to it instead of __environ.
This commit is contained in:
1
src/env/__environ.c
vendored
1
src/env/__environ.c
vendored
@@ -2,5 +2,6 @@
|
||||
|
||||
#undef environ
|
||||
char **__environ = 0;
|
||||
weak_alias(__environ, ___environ);
|
||||
weak_alias(__environ, _environ);
|
||||
weak_alias(__environ, environ);
|
||||
|
Reference in New Issue
Block a user