projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c8bead
)
bring back ___environ symbol (3 underscores)
author
Rich Felker
<dalias@aerifal.cx>
Tue, 23 Aug 2011 16:55:47 +0000
(12:55 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 23 Aug 2011 16:55:47 +0000
(12:55 -0400)
its existence doesn't hurt anything, and dynamic-linked binaries using
previous versions of musl were wrongly binding to it instead of
__environ.
src/env/__environ.c
patch
|
blob
|
history
diff --git
a/src/env/__environ.c
b/src/env/__environ.c
index 0a2786fdeb3f7a037ea95ad8ae2397e1a7c3be28..51dba83bd151be2d6a4a06f531d0104551d662ec 100644
(file)
--- 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);