From 9a751621661bab473334333b4422599bc26164a2 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 26 Jan 2003 06:42:40 +0000 Subject: * uinfo.cc (pwdgrp::load): Regularize strace output. Add warning for CreateFile failure. --- winsup/cygwin/sec_helper.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/sec_helper.cc') 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) -- cgit v1.2.3