OSDN Git Service

* environ.cc (rawenv): Make this variable a file-scope static.
authorcgf <cgf>
Fri, 21 Apr 2006 19:19:30 +0000 (19:19 +0000)
committercgf <cgf>
Fri, 21 Apr 2006 19:19:30 +0000 (19:19 +0000)
commit37597e6e735306b96c115df5247482fb58a852f5
tree05f32c2049eb48cba764b12f67a3c1b3681bc662
parent2c2b4251fe7393d16c4a77f0494d50c97ceff21e
* environ.cc (rawenv): Make this variable a file-scope static.
(getearly): Rename 's' variable to 'len' since 's' is used fairly consistently
throughout cygwin as a string variable.  Remove rawenv declaration.  Perform
other minor cleanups.
(environ_init): Remove rawenv declaration.  Only set rawenv to
GetEnvironmentStrings() if it has not already been set.  Properly free rawenv
in all cases.
winsup/cygwin/ChangeLog
winsup/cygwin/environ.cc