aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygtls.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r--winsup/cygwin/cygtls.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h
index 32838744d..0d6aa713b 100644
--- a/winsup/cygwin/cygtls.h
+++ b/winsup/cygwin/cygtls.h
@@ -79,13 +79,20 @@ public:
struct _local_storage
{
- /* passwd.cc */
- char pass[_PASSWORD_LEN];
+ /*
+ Needed for the group functions
+ */
+ int grp_pos;
/* dlfcn.cc */
int dl_error;
char dl_buffer[256];
+ /* passwd.cc */
+ struct passwd res;
+ char pass[_PASSWORD_LEN];
+ int pw_pos;
+
/* path.cc */
struct mntent mntbuf;
int iteration;