[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32.c,v
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32.c,v |
Date: |
Thu, 14 Jun 2007 10:01:05 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Juanma Barranquero <lektu> 07/06/14 10:01:05
Index: w32.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -b -r1.111 -r1.112
--- w32.c 23 Feb 2007 18:40:41 -0000 1.111
+++ w32.c 14 Jun 2007 10:01:04 -0000 1.112
@@ -491,15 +491,11 @@
HANDLE token = NULL;
SID_NAME_USE user_type;
- if (
- open_process_token (GetCurrentProcess (), TOKEN_QUERY,
&token)
- && get_token_information (
- token, TokenUser,
+ if (open_process_token (GetCurrentProcess (), TOKEN_QUERY, &token)
+ && get_token_information (token, TokenUser,
(PVOID) user_sid, sizeof (user_sid), &trash)
- && lookup_account_sid (
- NULL, *((PSID *) user_sid), name,
&length,
- domain, &dlength, &user_type)
- )
+ && lookup_account_sid (NULL, *((PSID *) user_sid), name, &length,
+ domain, &dlength, &user_type))
{
strcpy (the_passwd.pw_name, name);
/* Determine a reasonable uid value. */
- [Emacs-diffs] Changes to emacs/src/w32.c,v,
Juanma Barranquero <=