diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-14 21:46:19 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-14 21:46:19 +0000 |
commit | 6d171b4482689bd1c8a49af94e57d451c8f66448 (patch) | |
tree | babdadeed9f28974354c25073eb06863c7f9da03 /winsup/cygwin/cygheap.h | |
parent | b56d7e7937d0604025833e8c881f96c1d0e4147f (diff) | |
download | cygnal-6d171b4482689bd1c8a49af94e57d451c8f66448.tar.gz cygnal-6d171b4482689bd1c8a49af94e57d451c8f66448.tar.bz2 cygnal-6d171b4482689bd1c8a49af94e57d451c8f66448.zip |
* cygheap.h (cygheap_user::userprofile_env_buf): New static member.
* environ.cc (build_env): Add debugging statement.
(spenvs): Switch functions for USERDOMAIN and USERNAME.
* spawn.cc (spawn_guts): Move environment initialization prior to
cygheap_setup_for_child or environment info will never be copied to child.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index d50e16eea..f8777ccd9 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -109,6 +109,9 @@ class cygheap_user info may live. */ static char homepath_env_buf[MAX_PATH + 1]; /* Where the HOMEPATH environment variable info may live. */ + static char userprofile_env_buf[MAX_PATH + 1]; /* Where the USERPROFILE + environment variable info + may live. */ public: __uid32_t orig_uid; /* Remains intact even after impersonation */ __gid32_t orig_gid; /* Ditto */ |