From a77d35f7d207dc7c940a1bef94d42ca66795cb2d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 14 Jun 2002 20:36:42 +0000 Subject: * cygheap.h (cygheap_user): Add static members to hold home{drive,path} info. * uinfo.cc (cygheap_user::ontherange): Use static class members for local HOME* storage. --- winsup/cygwin/cygheap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'winsup/cygwin/cygheap.h') diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 16a817c17..d50e16eea 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -105,6 +105,10 @@ class cygheap_user char *homepath; /* User's home path */ PSID psid; /* buffer for user's SID */ PSID orig_psid; /* Remains intact even after impersonation */ + static char homedrive_env_buf[3]; /* Where the HOMEDRIVE environment variable + info may live. */ + static char homepath_env_buf[MAX_PATH + 1]; /* Where the HOMEPATH environment + variable info may live. */ public: __uid32_t orig_uid; /* Remains intact even after impersonation */ __gid32_t orig_gid; /* Ditto */ -- cgit v1.2.3