FreeBSD Bugzilla – Attachment 149100 Details for
Bug 194845
lang/mono Use mono Mac NetworkInterface code instead of Linux NetworkInterface code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
PR194845: Use Mac code within mono/metadata/socket-io.c
patch-mono_metadata_socket-io.c (text/plain), 1.29 KB, created by
Ben Woods
on 2014-11-05 23:05:56 UTC
(
hide
)
Description:
PR194845: Use Mac code within mono/metadata/socket-io.c
Filename:
MIME Type:
Creator:
Ben Woods
Created:
2014-11-05 23:05:56 UTC
Size:
1.29 KB
patch
obsolete
>--- mono/metadata/socket-io.c.orig 2014-11-05 23:04:18.266142233 +0800 >+++ mono/metadata/socket-io.c 2014-11-05 23:09:32.937146326 +0800 >@@ -13,7 +13,7 @@ > > #ifndef DISABLE_SOCKETS > >-#ifdef __APPLE__ >+#if defined(__APPLE__) || defined(__FreeBSD__) > #define __APPLE_USE_RFC_3542 > #endif > >@@ -106,7 +106,7 @@ > #define AI_ADDRCONFIG 0 > #endif > >-#ifdef __APPLE__ >+#if defined(__APPLE__) || defined(__FreeBSD__) > /* > * We remove this until we have a Darwin implementation > * that can walk the result of struct ifconf. The current >@@ -2051,7 +2051,7 @@ > #endif /* AF_INET6 */ > #endif > >-#if defined(__APPLE__) >+#if defined(__APPLE__) || defined(__FreeBSD__) > > #if defined(HAVE_GETIFADDRS) && defined(HAVE_IF_NAMETOINDEX) > static int >@@ -2089,7 +2089,7 @@ > } > #endif > >-#endif /* __APPLE__ */ >+#endif /* defined(__APPLE__) || defined(__FreeBSD__) */ > > void ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal(SOCKET sock, gint32 level, gint32 name, MonoObject *obj_val, MonoArray *byte_val, gint32 int_val, gint32 *error) > { >@@ -2187,7 +2187,7 @@ > field=mono_class_get_field_from_name(obj_val->vtable->klass, "ifIndex"); > mreq6.ipv6mr_interface =*(guint64 *)(((char *)obj_val)+field->offset); > >-#if defined(__APPLE__) >+#if defined(__APPLE__) || defined(__FreeBSD__) > /* > * Bug #5504: > *
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194845
:
149098
|
149099
| 149100