OSDN Git Service

* environ.cc (parse_options): Use setenv to potentially replace CYGWIN value on
authorcgf <cgf>
Mon, 1 Jul 2002 02:11:29 +0000 (02:11 +0000)
committercgf <cgf>
Mon, 1 Jul 2002 02:11:29 +0000 (02:11 +0000)
commit5397279e6cd58c4958f29a329afbb616279cf486
tree031d466f8e79fadb0881e3f9a29bbbc83a44f82d
parentd52f8af738b8ffd32ec7bfabfc9fce67d4634c3f
* environ.cc (parse_options): Use setenv to potentially replace CYGWIN value on
export.  Fixes broken behavior since November 2000 changes.
(regopt): Return indication of whether or not something has been parsed from
the registry.
(environ_init): Only attempt to export CYGWIN variable when values were set
from the registry.  It is exported automatically otherwise.
winsup/cygwin/ChangeLog
winsup/cygwin/environ.cc