* security.cc (get_group_sidlist): Fix formatting.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2002-07-15  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
|  | 	* security.cc (get_group_sidlist): Fix formatting. | ||||||
|  |  | ||||||
| 2002-07-14  Christopher Faylor  <cgf@redhat.com> | 2002-07-14  Christopher Faylor  <cgf@redhat.com> | ||||||
|  |  | ||||||
| 	* dcrt0.cc (initial_env): Force path and CYGWIN_DEBUG contents to lower | 	* dcrt0.cc (initial_env): Force path and CYGWIN_DEBUG contents to lower | ||||||
|   | |||||||
| @@ -535,10 +535,11 @@ get_group_sidlist (cygsidlist &grp_list, | |||||||
|   /* special_pgrp true if pgrpsid is not null and not in normal groups */ |   /* special_pgrp true if pgrpsid is not null and not in normal groups */ | ||||||
|   if (!pgrpsid) |   if (!pgrpsid) | ||||||
|     { |     { | ||||||
|       * special_pgrp = FALSE; |       *special_pgrp = FALSE; | ||||||
|       get_user_primary_group (wserver, user, usersid, pgrpsid); |       get_user_primary_group (wserver, user, usersid, pgrpsid); | ||||||
|     } |     } | ||||||
|   else * special_pgrp = TRUE; |   else | ||||||
|  |     *special_pgrp = TRUE; | ||||||
|   if (pw->pw_name && get_supplementary_group_sidlist (pw->pw_name, sup_list)) |   if (pw->pw_name && get_supplementary_group_sidlist (pw->pw_name, sup_list)) | ||||||
|     { |     { | ||||||
|       for (int i = 0; i < sup_list.count; ++i) |       for (int i = 0; i < sup_list.count; ++i) | ||||||
| @@ -547,7 +548,8 @@ get_group_sidlist (cygsidlist &grp_list, | |||||||
|     } |     } | ||||||
|   if (!grp_list.contains (pgrpsid)) |   if (!grp_list.contains (pgrpsid)) | ||||||
|     grp_list += pgrpsid; |     grp_list += pgrpsid; | ||||||
|   else * special_pgrp = FALSE; |   else | ||||||
|  |     *special_pgrp = FALSE; | ||||||
|   return TRUE; |   return TRUE; | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user