whitespace

This commit is contained in:
Christopher Faylor
2002-09-30 15:17:44 +00:00
parent 66dca8bb0d
commit 6cae97d5dc
9 changed files with 39 additions and 39 deletions

View File

@@ -169,9 +169,9 @@ read_etc_passwd ()
DWORD siz;
if (OpenProcessToken (hMainProc, TOKEN_QUERY, &ptok))
{
{
if (GetTokenInformation (ptok, TokenUser, &tu, sizeof tu,
&siz)
&siz)
&& GetTokenInformation (ptok, TokenPrimaryGroup, &tg,
sizeof tg, &siz))
{
@@ -180,16 +180,16 @@ read_etc_passwd ()
"%s::%lu:%lu:%s:%s:/bin/sh",
cygheap->user.name (),
*GetSidSubAuthority (tu,
*GetSidSubAuthorityCount(tu) - 1),
*GetSidSubAuthorityCount(tu) - 1),
*GetSidSubAuthority (tg,
*GetSidSubAuthorityCount(tg) - 1),
*GetSidSubAuthorityCount(tg) - 1),
tu.string (strbuf), getenv ("HOME") ?: "/");
debug_printf ("Emulating /etc/passwd: %s", linebuf);
add_pwd_line (linebuf);
passwd_state = emulated;
}
CloseHandle (ptok);
}
}
}
if (passwd_state != emulated)
{