[Mono-bugs] [Bug 77933][Nor] New - Wrong argument to apr_socket_create on Apache2

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 27 16:57:07 EST 2006


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 niceckng at gmail.com.

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

--- shadow/77933	2006-03-27 16:57:07.000000000 -0500
+++ shadow/77933.tmp.703	2006-03-27 16:57:07.000000000 -0500
@@ -0,0 +1,54 @@
+Bug#: 77933
+Product: Mono: Tools
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: mod_mono
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: niceckng at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Wrong argument to apr_socket_create on Apache2
+
+Description of Problem:
+Compilation error due to wrong arguement to function apr_socket_create 
+when using apache2
+
+Steps to reproduce the problem:
+1. Use Apache2
+$ ./configure --prefix=/usr/local --with-mono-prefix=/usr/local --with-
+apxs=/opt/csw/apache2/sbin/apxs --with-apr-
+config=/opt/csw/apache2/bin/apr-config --with-libs=/opt/csw/lib --with-
+includes=/opt/csw/include 
+$ gmake
+
+
+Actual Results:
+Wrong argument to apr_socket_create 
+
+Expected Results:
+Succesful compilation
+
+How often does this happen? 
+N/A
+
+Additional Information:
+Patch:
+
+--- src/mod_mono.c.orig Mon Mar 27 13:30:18 2006
++++ src/mod_mono.c      Mon Mar 27 12:21:40 2006
+@@ -1164,7 +1164,7 @@
+ 
+        family = (conf->listen_port != NULL) ? PF_INET : PF_UNIX;
+ #ifdef APACHE2
+-       rv = apr_socket_create (sock, family, SOCK_STREAM, pool);
++       rv = apr_socket_create (sock, family, SOCK_STREAM, 0, pool);
+ #else
+        (*sock)->fd = ap_psocket (pool, family, SOCK_STREAM, 0);
+        (*sock)->pool = pool;


More information about the mono-bugs mailing list