[Mono-bugs] [Bug 58848][Wis] Changed - build of mono-0.99 hungs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 19 Aug 2004 14:27:31 -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 bugzilla@gurugeek.com.

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

--- shadow/58848	2004-07-07 11:21:54.000000000 -0400
+++ shadow/58848.tmp.11251	2004-08-19 14:27:31.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 58848
 Product: Mono: Runtime
 Version: unspecified
 OS: Debian Woody
 OS Details: Linux devil 2.6.4 #2 Wed Mar 31 17:13:49 MSD 2004 i686 unknown
-Status: REOPENED   
+Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: bopm@udaff.com               
@@ -96,6 +96,33 @@
     --libdir=/usr/local/lib \
     --includedir=/usr/local/include \
     --infodir=/usr/local/info \
     --mandir=/usr/local/man
 
 
+
+------- Additional Comments From bugzilla@gurugeek.com  2004-08-19 14:27 -------
+There appear to be many places where this function is aliased:
+
+--/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/iperlsys.h--
+#define PerlSock_closesocket(s)                                         \
+#define PerlSock_closesocket(s)         closesocket(s)
+--/usr/local/include/ap_alloc.h--
+API_EXPORT(int) ap_pclosesocket(pool *a, int sock);
+--/usr/local/include/ap_compat.h--
+#define pclosesocket                   ap_pclosesocket
+--/usr/local/include/ap_config.h--
+#define closesocket(s) close(s)
+--/usr/local/include/mysql/my_global.h--
+#define closesocket(A)  soclose(A)
+#define closesocket(A)  close(A)
+#define closesocket(A)  soclose(A)
+#define closesocket(A)  close(A)
+--/usr/local/include/php/main/php_network.h--
+# undef closesocket
+# define closesocket close
+--/usr/kerberos/include/port-sockets.h--
+#define closesocket     close
+
+
+Renaming the closesocket function in mono to monoclosesocket worked.
+I'll try using an #undef closesocket and submit a patch if that works.