[Mono-bugs] [Bug 72818][Nor] New - getpwuid_r, getpwnam_r, getgrgid_r, getgrnam_r expects only 4 arguments

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 21 Feb 2005 15:55:03 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jonel@road14.com.

http://bugzilla.ximian.com/show_bug.cgi?id=72818

--- shadow/72818	2005-02-21 15:55:03.000000000 -0500
+++ shadow/72818.tmp.25444	2005-02-21 15:55:03.000000000 -0500
@@ -0,0 +1,59 @@
+Bug#: 72818
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Solaris [Other]
+OS Details: Solaris 10 x86
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Mono.Security
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jonel@road14.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: getpwuid_r, getpwnam_r, getgrgid_r, getgrnam_r expects only 4 arguments
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Normal build, configure, gmake 
+2. 
+3. 
+
+Actual Results:
+
+security.c: In function `GetTokenName':
+security.c:139: error: too many arguments to function `getpwuid_r'
+security.c:139: warning: assignment makes integer from pointer without a cast
+security.c: In function `IsDefaultGroup':
+security.c:206: error: too many arguments to function `getpwuid_r'
+security.c:206: warning: assignment makes integer from pointer without a cast
+security.c: In function `ves_icall_System_Security_Principal_WindowsIdentity_GetUserToken':
+security.c:368: error: too many arguments to function `getpwnam_r'
+security.c:368: warning: assignment makes integer from pointer without a cast
+security.c: In function 
+`ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupId':
+security.c:523: error: too many arguments to function `getgrgid_r'
+security.c:523: warning: assignment makes integer from pointer without a cast
+security.c: In function 
+`ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupName':
+security.c:575: error: too many arguments to function `getgrnam_r'
+security.c:575: warning: assignment makes integer from pointer without a cast
+
+Expected Results:
+
+getpwuid_r, getpwnam_r, getgrgid_r, getgrnam_r expects only 4 arguments
+
+
+
+How often does this happen? 
+everytime
+
+Additional Information:
+
+filename: mono/metadata/security.c