Compare commits

...
Author SHA1 Message Date
Miguel de Icaza 999eedbde2 Apply patch from r44008 fixes, 74817
svn path=/branches/mono-1-1-7/mcs/; revision=44025
2005-05-04 13:40:39 +00:00
Miguel de Icaza 22812f2442 Update
svn path=/branches/mono-1-1-7/mcs/; revision=43998
2005-05-04 03:22:23 +00:00
Miguel de Icaza 40c96c75f8 Update
svn path=/branches/mono-1-1-7/mcs/; revision=43997
2005-05-04 03:22:19 +00:00
Miguel de Icaza 5467fae98f Commit to the branch
svn path=/branches/mono-1-1-7/mono/; revision=43996
2005-05-04 03:21:50 +00:00
Miguel de Icaza 0b70115dbf Backport OSX fix
svn path=/branches/mono-1-1-7/mono/; revision=43988
2005-05-03 22:28:11 +00:00
7 changed files with 53 additions and 7 deletions

No files matched your search

+1
View File
@@ -57,6 +57,7 @@
}
#else
#include <gmodule.h>
#include <sys/types.h>
#include <sys/mman.h>
#include "jni.h"
+6
View File
@@ -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.
+8 -5
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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.")]
+5
View File
@@ -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
View File
@@ -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