You've already forked linux-packaging-mono
Imported Upstream version 6.12.0.86
Former-commit-id: 7a84ce7d08c42c458ac8e74b27186ca863315d79
This commit is contained in:
parent
92747312ea
commit
0b380204a4
@@ -295,13 +295,13 @@ namespace System.Net {
|
||||
|
||||
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
private extern static bool GetHostByName_internal(string host, out string h_name, out string[] h_aliases, out string[] h_addr_list, int hint);
|
||||
private extern static bool GetHostByName_icall (string host, out string h_name, out string[] h_aliases, out string[] h_addr_list, int hint);
|
||||
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
private extern static bool GetHostByAddr_internal(string addr, out string h_name, out string[] h_aliases, out string[] h_addr_list, int hint);
|
||||
private extern static bool GetHostByAddr_icall (string addr, out string h_name, out string[] h_aliases, out string[] h_addr_list, int hint);
|
||||
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
private extern static bool GetHostName_internal(out string h_name);
|
||||
private extern static bool GetHostName_icall (out string h_name);
|
||||
|
||||
static void Error_11001 (string hostName)
|
||||
{
|
||||
@@ -372,7 +372,7 @@ namespace System.Net {
|
||||
|
||||
string h_name;
|
||||
string[] h_aliases, h_addrlist;
|
||||
bool ret = GetHostByAddr_internal(address, out h_name, out h_aliases, out h_addrlist, Socket.FamilyHint);
|
||||
bool ret = GetHostByAddr_icall (address, out h_name, out h_aliases, out h_addrlist, Socket.FamilyHint);
|
||||
if (!ret)
|
||||
Error_11001 (address);
|
||||
return (hostent_to_IPHostEntry (address, h_name, h_aliases, h_addrlist));
|
||||
@@ -436,7 +436,7 @@ namespace System.Net {
|
||||
string h_name;
|
||||
string[] h_aliases, h_addrlist;
|
||||
|
||||
bool ret = GetHostByName_internal(hostName, out h_name, out h_aliases, out h_addrlist, Socket.FamilyHint);
|
||||
bool ret = GetHostByName_icall (hostName, out h_name, out h_aliases, out h_addrlist, Socket.FamilyHint);
|
||||
if (ret == false)
|
||||
Error_11001 (hostName);
|
||||
|
||||
@@ -447,7 +447,7 @@ namespace System.Net {
|
||||
{
|
||||
string hostName;
|
||||
|
||||
bool ret = GetHostName_internal(out hostName);
|
||||
bool ret = GetHostName_icall (out hostName);
|
||||
|
||||
if (ret == false)
|
||||
Error_11001 (hostName);
|
||||
|
||||
Reference in New Issue
Block a user