diff options
author | Christopher Faylor <me@cgf.cx> | 2004-05-28 23:50:07 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-05-28 23:50:07 +0400 |
commit | e3778517d9c6409c9c917db83ccac20de1800a29 (patch) | |
tree | 407e958798d6f156ff0762350734b7b92cf032d8 /winsup/cygwin/grp.cc | |
parent | dccc3e5d2c6059410c12feb9e5d26f3176334011 (diff) |
* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
starts with a drive.
Also perform whitespace cleanup.
Diffstat (limited to 'winsup/cygwin/grp.cc')
-rw-r--r-- | winsup/cygwin/grp.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc index f46cb89d6..4edfc4128 100644 --- a/winsup/cygwin/grp.cc +++ b/winsup/cygwin/grp.cc @@ -185,7 +185,7 @@ getgrgid_r (__gid32_t gid, struct __group32 *grp, char *buffer, size_t bufsize, return ERANGE; struct __group32 *tempgr = internal_getgrgid (gid, true); - pthread_testcancel (); + pthread_testcancel (); if (!tempgr) return 0; @@ -242,7 +242,7 @@ getgrnam_r (const char *nam, struct __group32 *grp, char *buffer, return ERANGE; struct __group32 *tempgr = internal_getgrnam (nam, true); - pthread_testcancel (); + pthread_testcancel (); if (!tempgr) return 0; @@ -373,7 +373,7 @@ internal_getgroups (int gidsetsize, __gid32_t *grouplist, cygpsid * srchsid) for (DWORD pg = 0; pg < groups->GroupCount; ++pg) if (sid == groups->Groups[pg].Sid && sid != well_known_world_sid) - { + { if (cnt < gidsetsize) grouplist[cnt] = gr->gr_gid; ++cnt; |