From: Jonathan Pryor Date: Thu, 25 Oct 2012 15:28:12 +0000 (-0400) Subject: [Mono.Posix] Fix whitespace. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=3f4e46b0fa174aee407de559a02df168e61ad20f;p=mono.git [Mono.Posix] Fix whitespace. Reduce whitespace changes from master. --- diff --git a/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs b/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs index 56857610715..e5ef6c7a93b 100644 --- a/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs +++ b/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs @@ -2193,7 +2193,7 @@ namespace Mono.Unix.Native { // // TODO: putgrent(3), fgetgrent_r(), initgroups(3) - // getgrouplist(2) + // getgrouplist(2) [DllImport (LIBC, SetLastError=true, EntryPoint="getgrouplist")] private static extern int sys_getgrouplist (string user, uint grp, uint [] groups,ref int ngroups); @@ -2206,7 +2206,7 @@ namespace Mono.Unix.Native { // Syscall to getpwnam to retrieve user uid Passwd pw = Syscall.getpwnam (username); if (pw == null) - throw new ArgumentException (string.Format ("User {0} does not exists",username), "username"); + throw new ArgumentException (string.Format ("User {0} does not exists",username), "username"); return getgrouplist (pw); } @@ -2228,7 +2228,7 @@ namespace Mono.Unix.Native { Group gr = null; for (int i = 0; i < res; i++) { gr = Syscall.getgrgid (groups [i]); - if (gr != null) + if (gr != null) result.Add (gr); } return result.ToArray (); @@ -2236,7 +2236,8 @@ namespace Mono.Unix.Native { // setgroups(2) // int setgroups (size_t size, const gid_t *list); - [DllImport (MPH, SetLastError=true, EntryPoint="Mono_Posix_Syscall_setgroups")] + [DllImport (MPH, SetLastError=true, + EntryPoint="Mono_Posix_Syscall_setgroups")] public static extern int setgroups (ulong size, uint[] list); public static int setgroups (uint [] list)