mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01: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:
parent
1c8bead345
commit
291666a14a
1 changed files with 1 additions and 0 deletions
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue