diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-09-28 18:49:31 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-09-28 18:49:31 +0400 |
commit | 2a9b4b7aa07c166beca1c37d2ba7faa22feca33f (patch) | |
tree | 67fe89cf1747cf259bac0ea5cb66db10edb5ac34 /winsup/cygwin/shared.cc | |
parent | 2f1f8815c037ee0387c30fba98689e544ab75c9a (diff) |
Revert accidental previous login.
Diffstat (limited to 'winsup/cygwin/shared.cc')
-rw-r--r-- | winsup/cygwin/shared.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index 5118b432b..10d03b088 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -312,6 +312,7 @@ user_info::initialize () spinlock sversion (version, CURR_USER_MAGIC); if (!sversion) { + cb = sizeof (*user_shared); cygpsid sid (cygheap->user.sid ()); struct passwd *pw = internal_getpwsid (sid); /* Correct the user name with what's defined in /etc/passwd before @@ -319,7 +320,6 @@ user_info::initialize () if (pw) cygheap->user.set_name (pw->pw_name); mountinfo.init (); /* Initialize the mount table. */ - cb = sizeof (*user_shared); } else if (sversion != CURR_USER_MAGIC) sversion.multiple_cygwin_problem ("user shared memory version", version, |