[Mono-bugs] [Bug 63497][Min] Changed - [PATCH] closesocket aliased on redhat / debian woody
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 15 Jan 2005 09:45:40 -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 will@musc.org.uk.
http://bugzilla.ximian.com/show_bug.cgi?id=63497
--- shadow/63497 2004-10-03 14:28:34.000000000 -0400
+++ shadow/63497.tmp.29871 2005-01-15 09:45:40.000000000 -0500
@@ -51,6 +51,19 @@
perl, apache, mysql, php or kerberos.
------- Additional Comments From miguel@ximian.com 2004-10-03 14:28 -------
Seems to be an old OS problem.
+
+------- Additional Comments From will@musc.org.uk 2005-01-15 09:45 -------
+It appears that this is due to Apache modifying
+/usr/include/fnmatch.h, which is included by mono/io-layers/io.c
+
+fnmatch.h includes ap_config.h, which redefines the alias.
+
+Ideally, Apache wouldn't break stuff in this way, but this is in no
+way an 'obsolete OS issue' - this happens on a new SLES-9 box with the
+latest version of Apache.
+
+I would suggest either adding the undef to sockets.h, or renaming
+closesocket (it's only called by mono/metadata/socket-io.c