mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
999eedbde2 | ||
|
|
22812f2442 | ||
|
|
40c96c75f8 | ||
|
|
5467fae98f | ||
|
|
0b70115dbf |
No files matched your search
@@ -57,6 +57,7 @@
|
||||
}
|
||||
#else
|
||||
#include <gmodule.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
#include "jni.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2005-05-04 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* WebConnection.cs: don't rethrow errors in Write, as the error will be
|
||||
received by GetResponse*. The result is that the threadpool thread doing
|
||||
this will not end up printing the exception. Fixes bug #74817.
|
||||
|
||||
2005-05-03 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* ServicePoint.cs: HostEntry needs to be thread safe.
|
||||
|
||||
@@ -245,6 +245,7 @@ namespace System.Net
|
||||
request.ClientCertificates,
|
||||
request, buffer};
|
||||
nstream = (Stream) Activator.CreateInstance (sslStream, args);
|
||||
certsAvailable = false;
|
||||
}
|
||||
// we also need to set ServicePoint.Certificate
|
||||
// and ServicePoint.ClientCertificate but this can
|
||||
@@ -809,18 +810,20 @@ namespace System.Net
|
||||
if (ssl && !certsAvailable)
|
||||
GetCertificates ();
|
||||
} catch (Exception e) {
|
||||
if (e is WebException)
|
||||
throw e;
|
||||
|
||||
WebExceptionStatus wes = WebExceptionStatus.SendFailure;
|
||||
string msg = "Write";
|
||||
if (e is WebException) {
|
||||
HandleError (wes, e, msg);
|
||||
return;
|
||||
}
|
||||
|
||||
// if SSL is in use then check for TrustFailure
|
||||
if (ssl && (bool) piTrustFailure.GetValue (nstream, null)) {
|
||||
wes = WebExceptionStatus.TrustFailure;
|
||||
msg = "Trust failure";
|
||||
}
|
||||
|
||||
HandleError (wes, e, "Write");
|
||||
throw new WebException ("Not connected", e, wes, null);
|
||||
HandleError (wes, e, msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: AssemblyVersion("1.1.5")]
|
||||
[assembly: AssemblyVersion("1.1.7")]
|
||||
[assembly: AssemblyTitle ("Mono ILasm Compiler")]
|
||||
[assembly: AssemblyDescription ("Mono ILasm Compiler")]
|
||||
[assembly: AssemblyCopyright ("Sergey Chaban and Jackson Harper")]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: AssemblyVersion("1.1.5")]
|
||||
[assembly: AssemblyVersion("1.1.7")]
|
||||
[assembly: AssemblyTitle ("Mono C# Compiler")]
|
||||
[assembly: AssemblyDescription ("Mono C# Compiler")]
|
||||
[assembly: AssemblyCopyright ("2001, 2002, 2003 Ximian, Inc.")]
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2005-05-03 Geoff Norton <[email protected]>
|
||||
|
||||
* sys-xattr.c: Mac OS/X Tiger supports xattr but has a different API for supporting
|
||||
resource forks. Allow mono to build on Tiger.
|
||||
|
||||
2005-04-30 Jonathan Pryor <[email protected]>
|
||||
|
||||
* stdio.c: Add Mono_Posix_Stdlib_DumpFilePosition, which create a hex string
|
||||
|
||||
@@ -31,9 +31,14 @@ Mono_Posix_Syscall_setxattr (const char *path, const char *name, char *value, mp
|
||||
if (Mono_Posix_FromXattrFlags (flags, &_flags) == -1)
|
||||
return -1;
|
||||
|
||||
#if __APPLE__
|
||||
return setxattr (path, name, value, size, 0, _flags);
|
||||
#else
|
||||
return setxattr (path, name, value, size, _flags);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !__APPLE__
|
||||
gint32
|
||||
Mono_Posix_Syscall_lsetxattr (const char *path, const char *name, char *value, mph_size_t size, gint32 flags)
|
||||
{
|
||||
@@ -45,6 +50,7 @@ Mono_Posix_Syscall_lsetxattr (const char *path, const char *name, char *value, m
|
||||
|
||||
return lsetxattr (path, name, value, size, _flags);
|
||||
}
|
||||
#endif
|
||||
|
||||
gint32
|
||||
Mono_Posix_Syscall_fsetxattr (int fd, const char *name, char *value, mph_size_t size, gint32 flags)
|
||||
@@ -55,49 +61,74 @@ Mono_Posix_Syscall_fsetxattr (int fd, const char *name, char *value, mph_size_t
|
||||
if (Mono_Posix_FromXattrFlags (flags, &_flags) == -1)
|
||||
return -1;
|
||||
|
||||
#if __APPLE__
|
||||
return fsetxattr (fd, name, value, (size_t) size, 0, _flags);
|
||||
#else
|
||||
return lsetxattr (fd, name, value, (size_t) size, _flags);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
mph_ssize_t
|
||||
Mono_Posix_Syscall_getxattr (const char *path, const char *name, void *value, mph_size_t size)
|
||||
{
|
||||
mph_return_if_size_t_overflow (size);
|
||||
#if __APPLE__
|
||||
return getxattr (path, name, value, (size_t) size, 0, 0);
|
||||
#else
|
||||
return getxattr (path, name, value, (size_t) size);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !__APPLE__
|
||||
mph_ssize_t
|
||||
Mono_Posix_Syscall_lgetxattr (const char *path, const char *name, void *value, mph_size_t size)
|
||||
{
|
||||
mph_return_if_size_t_overflow (size);
|
||||
return lgetxattr (path, name, value, (size_t) size);
|
||||
}
|
||||
#endif
|
||||
|
||||
mph_ssize_t
|
||||
Mono_Posix_Syscall_fgetxattr (int fd, const char *name, void *value, mph_size_t size)
|
||||
{
|
||||
mph_return_if_size_t_overflow (size);
|
||||
#if __APPLE__
|
||||
return fgetxattr (fd, name, value, (size_t) size, 0, 0);
|
||||
#else
|
||||
return fgetxattr (fd, name, value, (size_t) size);
|
||||
#endif
|
||||
}
|
||||
|
||||
mph_ssize_t
|
||||
Mono_Posix_Syscall_listxattr (const char *path, char *list, mph_size_t size)
|
||||
{
|
||||
mph_return_if_size_t_overflow (size);
|
||||
#if __APPLE__
|
||||
return listxattr (path, list, (size_t) size, 0);
|
||||
#else
|
||||
return listxattr (path, list, (size_t) size);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !__APPLE__
|
||||
mph_ssize_t
|
||||
Mono_Posix_Syscall_llistxattr (const char *path, char *list, mph_size_t size)
|
||||
{
|
||||
mph_return_if_size_t_overflow (size);
|
||||
return llistxattr (path, list, (size_t) size);
|
||||
}
|
||||
#endif
|
||||
|
||||
mph_ssize_t
|
||||
Mono_Posix_Syscall_flistxattr (int fd, char *list, mph_size_t size)
|
||||
{
|
||||
mph_return_if_size_t_overflow (size);
|
||||
#if __APPLE__
|
||||
return flistxattr (fd, list, (size_t) size, 0);
|
||||
#else
|
||||
return flistxattr (fd, list, (size_t) size);
|
||||
#endif
|
||||
}
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in new issue
Block a user