Revert accidental previous login.

This commit is contained in:
Corinna Vinschen
2010-09-28 14:49:31 +00:00
parent 2f1f8815c0
commit 2a9b4b7aa0
7 changed files with 19 additions and 109 deletions

View File

@ -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,