[Mono-bugs] [Bug 72820][Wis] New - getgrgid_r, getgrnam_r expects only 4 arguments

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 21 Feb 2005 16:02:52 -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=72820

--- shadow/72820	2005-02-21 16:02:52.000000000 -0500
+++ shadow/72820.tmp.25625	2005-02-21 16:02:52.000000000 -0500
@@ -0,0 +1,58 @@
+Bug#: 72820
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Solaris [Other]
+OS Details: Solaris 10 x86
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Mono.Security
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jonel@road14.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: 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:
+
+grp.c:109: warning: no previous prototype for 'Mono_Posix_Syscall_getgrnam'
+grp.c:130: warning: no previous prototype for 'Mono_Posix_Syscall_getgrgid'
+grp.c:154: warning: no previous prototype for 'Mono_Posix_Syscall_getgrnam_r'
+grp.c: In function `Mono_Posix_Syscall_getgrnam_r':
+grp.c:176: error: too many arguments to function `getgrnam_r'
+grp.c:176: warning: assignment makes integer from pointer without a cast
+grp.c: At top level:
+grp.c:192: warning: no previous prototype for 'Mono_Posix_Syscall_getgrgid_r'
+grp.c: In function `Mono_Posix_Syscall_getgrgid_r':
+grp.c:214: error: too many arguments to function `getgrgid_r'
+grp.c:214: warning: assignment makes integer from pointer without a cast
+grp.c: At top level:
+grp.c:227: warning: no previous prototype for 'Mono_Posix_Syscall_getgrent'
+grp.c:249: warning: no previous prototype for 'Mono_Posix_Syscall_fgetgrent'
+grp.c:271: warning: no previous prototype for 'Mono_Posix_Syscall_setgroups'
+grp.c: In function `Mono_Posix_Syscall_setgroups':
+grp.c:273: warning: passing arg 2 of `setgroups' from incompatible pointer type
+gmake[2]: *** [grp.lo] Error 1
+
+
+Expected Results:
+
+getgrgid_r, getgrnam_r expects only 4 arguments
+
+How often does this happen? 
+all the time
+
+Additional Information:
+
+filename: support/grp.c