Mercurial > emacs
changeset 12025:e804b43418f6
Change Vuser_real_name to Vuser_real_login_name.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 30 May 1995 21:50:07 +0000 |
parents | 8e31a35ac027 |
children | 505a894d943e |
files | src/w32.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32.c Tue May 30 21:45:22 1995 +0000 +++ b/src/w32.c Tue May 30 21:50:07 1995 +0000 @@ -683,25 +683,25 @@ 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 */