[Mono-bugs] [Bug 74698][Min] Changed - Corlib Unit tests failing / wrong runtime support on FreeBSD

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 23 Apr 2005 19:10:00 -0400 (EDT)


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 flashdict@gmail.com.

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

--- shadow/74698	2005-04-23 19:00:18.000000000 -0400
+++ shadow/74698.tmp.12837	2005-04-23 19:10:00.000000000 -0400
@@ -204,6 +204,11 @@
 man page says something about how sysctl() is preferred (but
 non-portable)  So, my suggestion (request) would be to check the
 return value for the sysconf() call and if it's -1, then just use the
 default of 1024.
 
 Thanks.
+
+------- Additional Comments From flashdict@gmail.com  2005-04-23 19:10 -------
+Note that _SC_GETGR_R_SIZE_MAX, which is used elsewhere in security.c
+also gives an error from sysconf on FreeBSD, and needs a return-value
+check and a default.