summaryrefslogtreecommitdiff
path: root/src/w32.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-30 21:50:07 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-30 21:50:07 +0000
commit64f2eb67c5e25875ec52ad62e1d99b93a27e7223 (patch)
tree227309c360a3a18b9a5af3bc69359a25c2afdd87 /src/w32.c
parent0f62cb4faffd1aedb3bb4f5bd15e2861fa49f859 (diff)
downloademacs-64f2eb67c5e25875ec52ad62e1d99b93a27e7223.tar.gz
Change Vuser_real_name to Vuser_real_login_name.
Diffstat (limited to 'src/w32.c')
-rw-r--r--src/w32.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/w32.c b/src/w32.c
index b4626071861..9829e2b24d4 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -683,25 +683,25 @@ Keep this around...we might need it later.
SID_NAME_USE User;
if (1)
- Vuser_real_name = build_string ("foo");
+ Vuser_real_login_name = build_string ("foo");
else if (!OpenProcessToken (GetCurrentProcess (), TOKEN_QUERY, &Token))
{
- Vuser_real_name = build_string ("unknown");
+ Vuser_real_login_name = build_string ("unknown");
}
else if (!GetTokenInformation (Token, TokenUser, (PVOID)b, 256,
&trash))
{
CloseHandle (Token);
- Vuser_real_name = build_string ("unknown");
+ Vuser_real_login_name = build_string ("unknown");
}
else if (!LookupAccountSid ((void *)0, (PSID)b, Name, &length, RefD,
&rlength, &User))
{
CloseHandle (Token);
- Vuser_real_name = build_string ("unknown");
+ Vuser_real_login_name = build_string ("unknown");
}
else
- Vuser_real_name = build_string (Name);
+ Vuser_real_login_name = build_string (Name);
}
#else /* not WINDOWSNT */
#endif /* not WINDOWSNT */