diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-26 06:42:40 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-26 06:42:40 +0000 |
commit | 9a751621661bab473334333b4422599bc26164a2 (patch) | |
tree | 742a43bdccdc8dec7c86ddf6813f6f82aa465c5a /winsup/cygwin/sec_helper.cc | |
parent | 989c97fe141b5869c3dfd438683b14a8bc8453ca (diff) | |
download | cygnal-9a751621661bab473334333b4422599bc26164a2.tar.gz cygnal-9a751621661bab473334333b4422599bc26164a2.tar.bz2 cygnal-9a751621661bab473334333b4422599bc26164a2.zip |
* uinfo.cc (pwdgrp::load): Regularize strace output. Add warning for
CreateFile failure.
Diffstat (limited to 'winsup/cygwin/sec_helper.cc')
-rw-r--r-- | winsup/cygwin/sec_helper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc index f300398c7..86389da74 100644 --- a/winsup/cygwin/sec_helper.cc +++ b/winsup/cygwin/sec_helper.cc @@ -194,10 +194,10 @@ is_grp_member (__uid32_t uid, __gid32_t gid) { /* If gid == primary group of current user, return immediately. */ if (gid == myself->gid) - return TRUE; + return TRUE; /* Calling getgroups only makes sense when reading the access token. */ if (allow_ntsec) - { + { __gid32_t grps[NGROUPS_MAX]; int cnt = internal_getgroups (NGROUPS_MAX, grps); for (idx = 0; idx < cnt; ++idx) |