diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-08-23 12:55:47 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-08-23 12:55:47 -0400 |
commit | 291666a14a41fe46c1e302585de97b399ab631e7 (patch) | |
tree | 58dcd4a8dd5844ac2754d9ec799045d79c345c72 /src | |
parent | 1c8bead345eca58ddc5177a121142b527937adee (diff) | |
download | musl-291666a14a41fe46c1e302585de97b399ab631e7.tar.gz musl-291666a14a41fe46c1e302585de97b399ab631e7.tar.xz musl-291666a14a41fe46c1e302585de97b399ab631e7.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/env/__environ.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/env/__environ.c b/src/env/__environ.c index 0a2786fd..51dba83b 100644 --- a/src/env/__environ.c +++ b/src/env/__environ.c @@ -2,5 +2,6 @@ #undef environ char **__environ = 0; +weak_alias(__environ, ___environ); weak_alias(__environ, _environ); weak_alias(__environ, environ); |