winsup/cygwin ChangeLog environ.cc environ.h

cgf@cygwin.com cgf@cygwin.com
Wed Mar 30 15:54:00 GMT 2005


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sourceware.org	2005-03-30 15:54:29

Modified files:
	cygwin         : ChangeLog environ.cc environ.h 

Log message:
	* 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.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.2805&r2=1.2806
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/environ.cc.diff?cvsroot=uberbaum&r1=1.109&r2=1.110
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/environ.h.diff?cvsroot=uberbaum&r1=1.8&r2=1.9



More information about the Cygwin-cvs mailing list