mirror of git://git.musl-libc.org/musl
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:
parent
1c8bead345
commit
291666a14a
|
@ -2,5 +2,6 @@
|
||||||
|
|
||||||
#undef environ
|
#undef environ
|
||||||
char **__environ = 0;
|
char **__environ = 0;
|
||||||
|
weak_alias(__environ, ___environ);
|
||||||
weak_alias(__environ, _environ);
|
weak_alias(__environ, _environ);
|
||||||
weak_alias(__environ, environ);
|
weak_alias(__environ, environ);
|
||||||
|
|
Loading…
Reference in New Issue