From: Karl Heuer Date: Tue, 30 May 1995 21:50:07 +0000 (+0000) Subject: Change Vuser_real_name to Vuser_real_login_name. X-Git-Tag: emacs-19.34~3833 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cca72e3e204c668593785b7ffcde7392ac3975f;p=emacs.git Change Vuser_real_name to Vuser_real_login_name. --- 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 */