[Mono-bugs] [Bug 63497][Min] Changed - [PATCH] closesocket aliased on redhat / debian woody
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 email@example.com.
--- 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 firstname.lastname@example.org 2004-10-03 14:28 -------
Seems to be an old OS problem.
+------- Additional Comments From email@example.com 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