diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-16 05:45:37 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-16 05:45:37 +0000 |
commit | a05a9e012318485a4ab04210602015b75b2647c7 (patch) | |
tree | b22b8a591049274471c98bce8499c095dad81832 /newlib/libc/stdlib/getenv.c | |
parent | 5f25e1d11a9760dd4728ae3a82c23884f50e244e (diff) | |
download | cygnal-a05a9e012318485a4ab04210602015b75b2647c7.tar.gz cygnal-a05a9e012318485a4ab04210602015b75b2647c7.tar.bz2 cygnal-a05a9e012318485a4ab04210602015b75b2647c7.zip |
Changes suggested by Pierre Humblet.
* environ.cc (NL): New macro.
(conv_envvars): Use NL macro to fill in name and namelen.
(spenv::namelen): New field.
(spenvs): Use NL to fill in name and namelen.
(spenv::retrieve): Eliminate length argument. Instead, use namelen throughout.
(build_env): Don't calculate length of initial FOO= part of environment.
Accommodate spenv::retrive argument change.
Diffstat (limited to 'newlib/libc/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions