projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4458702
)
Add weak alias `_environ'.
author
roland
<roland>
Thu, 13 Apr 1995 03:26:49 +0000
(
03:26
+0000)
committer
roland
<roland>
Thu, 13 Apr 1995 03:26:49 +0000
(
03:26
+0000)
posix/environ.c
patch
|
blob
|
history
diff --git
a/posix/environ.c
b/posix/environ.c
index
3eee48e
..
a0ed0d8
100644
(file)
--- a/
posix/environ.c
+++ b/
posix/environ.c
@@
-6,3
+6,7
@@
/* This must be initialized; we cannot have a weak alias into bss. */
char **__environ = NULL;
weak_alias (__environ, environ)
+
+/* The SVR4 ABI says `_environ' will be the name to use
+ in case the user overrides the weak alias `environ'. */
+weak_alias (__environ, _environ)