summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-03-30 15:54:28 +0000
committerChristopher Faylor <me@cgf.cx>2005-03-30 15:54:28 +0000
commit47dc3dec0ab30187d3502e0c66ed78396aa14672 (patch)
tree427565aef23cdecea2db8f37b794880e34c8c79b /winsup/cygwin/autoload.cc
parentf3fd76d41826effa0f94202be1811a52a9547b56 (diff)
downloadcygnal-47dc3dec0ab30187d3502e0c66ed78396aa14672.tar.gz
cygnal-47dc3dec0ab30187d3502e0c66ed78396aa14672.tar.bz2
cygnal-47dc3dec0ab30187d3502e0c66ed78396aa14672.zip
* environ.h (win_env::immediate): Declare new field.
(win_env::operator = ): Declare new operator. (win_env::reset): Declare new function. (win_env::~win_env): Declare new destructor. (getwinenv): Add optional third argument to declaration. * environ.cc (conv_envvars): Accommodate immediate field. (win_env::operator =): Define new operator. (win_env::~win_env): Define new destructor. (win_env::add_cache): Add value to environment immediately if "immediate" is set. (getwinenv): Accept optional third argument which will be used to store "cached" values to avoid overwriting real cache. (spenv::force): Declare new field. (spenvs): Accommodate force field. Add "PATH=" with force set to true. (spenv::retrieve): Avoid duping anything if we're not building an envblock. (build_env): Ditto. Use size of potentially constructed new environment block to determine if we need to create an environment block. Pass getwinenv temporary storage to avoid inappropriately overwriting the environment cache.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
0 files changed, 0 insertions, 0 deletions