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:
Rich Felker 2011-08-23 12:55:47 -04:00
parent 1c8bead345
commit 291666a14a
1 changed files with 1 additions and 0 deletions

1
src/env/__environ.c vendored
View File

@ -2,5 +2,6 @@
#undef environ
char **__environ = 0;
weak_alias(__environ, ___environ);
weak_alias(__environ, _environ);
weak_alias(__environ, environ);