Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-03-17 00:52:06 +0300
committerChristopher Faylor <me@cgf.cx>2005-03-17 00:52:06 +0300
commit29acee402001c0ca009c546432027f5ce5ea3584 (patch)
tree73b7f78af4eb1fc6dd9543dd151bdf44ae0b93ba /winsup/cygwin/security.cc
parent38a1953cfc4a1fde51cf976b04bee8642fc0ef68 (diff)
* fhandler_tape.cc (get_ll): This is a generally useful function so move it
* winsup.h (get_ll): to here * security.cc (get_token_group_sidlist): Use get_ll to figure out the long long version of the luid since QuadPart is not part of the standard Windows API.
Diffstat (limited to 'winsup/cygwin/security.cc')
-rw-r--r--winsup/cygwin/security.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc
index 14f401335..40914ff4a 100644
--- a/winsup/cygwin/security.cc
+++ b/winsup/cygwin/security.cc
@@ -534,7 +534,7 @@ get_token_group_sidlist (cygsidlist &grp_list, PTOKEN_GROUPS my_grps,
grp_list += well_known_local_sid;
grp_list += well_known_interactive_sid;
}
- if (auth_luid.QuadPart != 999) /* != SYSTEM_LUID */
+ if (get_ll (auth_luid) != 999LL) /* != SYSTEM_LUID */
{
char buf[64];
__small_sprintf (buf, "S-1-5-5-%u-%u", auth_luid.HighPart,