Age | Commit message (Collapse) | Author |
|
|
|
libgc defines to libgc only."
This reverts commit cff0ecb816fdd10419550b549137f48b5a14ff88.
Revert this as boehm-gc.c depends on the libgc defines.
|
|
defines to libgc only.
|
|
In response to Rodrigo's comments on PR 629.
|
|
|
|
Refactor System.Net.NetworkingInformation in order
to support multiple "providers"; previously only
Linux was ever supported for this API.
This patch provides basic support for Mac OS X
via the SystemConfiguration framework's
SCNetworkReachability API.
bxc#12038
|
|
is not found. Fixes #11770.
|
|
|
|
5329fab3 requires <sys/uio.h>, which wasn't being included.
|
|
|
|
* Add OpenFlags.O_CLOEXEC and OpenFlags.O_PATH
* Add AtFlags for AT_* values
* Add fdopendir, mkdtemp, futimens
* Add readv, writev, preadv, pwritev
* Add *at methods: openat, renameat, fchmodat, fstatat, utimensat,
mkdirat, mknodat, mkfifoat, faccessat, fchownat, linkat, readlinkat,
symlinkat, unlinkat
* Add constants AT_FDCWD, UTIME_NOW, UTIME_OMIT
|
|
This will allow the caller to distinguish between errors and end-of-directory.
|
|
|
|
|
|
the caller
Jonathan Pryor (jonpryor) commented on f49164b:
The message parameter is validated in managed code:
https://github.com/mono/mono/blob/master/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs#L3200
https://github.com/mono/mono/blob/master/mcs/class/Mono.Posix/Mono.Unix/UnixMarshal.cs#L366
This change means that '%m' isn't useful in format strings to Syscall.syslog(),
as it'll be escaped instead of "passed through" unchanged.
|
|
longer supported, see http://lists.gnu.org/archive/html/automake/2012-08/msg00087.html.
|
|
In support/fcntl.c - every time fcntl() was called, it would first map the
cmd from mono's version of it to the system header file version of it.
The only time this wasn't happening was in Mono_Posix_Syscall_fcntl_lock()
and now it does it there too. This seems to resolve Bug 2014 on both
64-bit linux and on Mac OS X (64-bit).
|
|
|
|
|
|
|
|
|
|
is a ssize_t, not a size_t. This fixed a problem where we would not exit the loop, as negative values would never be set, fix from GitHub.com's konrad-kruczynski
|
|
escaping in managed code, see: https://github.com/mono/mono/commit/f49164bf7658855390b2c19574b170f8728a99ff#commitcomment-1044747
|
|
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=3419
The problem is that OS X defines MAP_ANON but not MAP_ANONYMOUS, AND
MAP_ANON and MAP_ANONYMOUS have the same value. Furthermore,
create-native-map doesn't have any special support for constants with
the same value, so it emits the validation independently.
The result is that the following fails on OS X:
$ csharp -r:Mono.Posix.dll
csharp> int r;
csharp> using Mono.Unix.Native;
csharp> NativeConvert.TryFromMmapFlags(MmapFlags.MAP_ANONYMOUS, out r);
false
csharp> r;
The (hackish) fix is to provide MAP_ANONYMOUS on OS X, thus allowing
the existing validation logic to work as expected.
|
|
Make sure we always #define ZCALLBACK to empty so we don't change
the calling convention on windows by including a header which defines
'CALLBACK'. This will keep things as cdecl as required by the c#
pinvokes.
|
|
|
|
is not supported by termios. OutOfRange rather than NotSupported exception due to interface compatibility.
|
|
|
|
|
|
|
|
Add support for the events in NetworkChanged (linux-only).
|
|
|
|
When Flush() is called explicitly, do a Z_PARTIAL_FLUSH to force gzip
into giving us whatever is available. Less efficient, but compatible
with MS.
|
|
|
|
|
|
New mappings created for the epoll code.
|
|
|
|
|
|
* Makefile.am (patch-libtool): Fix this up after the dolt changes.
svn path=/trunk/mono/; revision=159621
|
|
svn path=/trunk/mono/; revision=158898
|
|
* fakepoll.h: Added for OSX
* serial.c:
* signal.c: poll on OSX is broken, so we use a select based
implementation instead.
svn path=/trunk/mono/; revision=158861
|
|
* zlib-helper.c: don't call Z_FINISH if nothing has been written.
svn path=/trunk/mono/; revision=155764
|
|
Android doesn't provide all the headers, structure members, and
functions that a "full" Linux distro includes.
* support/dirent.c, support/grp.c, support/macros.c, support/pwd.c,
support/signal.c, support/sys-statvfs.c, support/sys-time.c,
support/unistd.c: Add #if HAVE_XXX checks for functions which aren't
provided on Android.
svn path=/trunk/mono/; revision=155753
|
|
mentioned that it's unacceptable for MonoPosixHelper to link against
libmono (e.g. when embedding mono, there might not be a libmono).
* map.h: Flush updated Mono_Unix_UnixSignal_SignalInfo prototype.
* signal.c: Don't use mono_runtime_is_shutting_down(). Instead, change
Mono_Unix_UnixSignal_WaitAny() to accept a function pointer argument,
which will return Environment.HasShutdownStarted in managed code (the
moral equivalent of mono_runtime_is_shutting_down()). This allows
us to avoid a libmono dependency w/o lots of rewriting. Fixes #592981.
svn path=/trunk/mono/; revision=155520
|
|
* zlib-helper.c: now that we don't use Z_SYNC_FLUSH, there might be
unflushed input in zstream, so always call Z_FINISH.
svn path=/trunk/mono/; revision=154995
|
|
svn path=/trunk/mono/; revision=154732
|
|
against libmono.so, for mono_runtime_is_shutting_down().
* signal.c: Only continue retrying system calls if Mono is NOT
attempting to shut down. Fixes #592981.
svn path=/trunk/mono/; revision=154731
|
|
svn path=/trunk/mono/; revision=154669
|
|
* mph.h: Applied some changes from the openbsd ports tree to fix openbsd
support.
svn path=/trunk/mono/; revision=154401
|
|
SIGIO is not part of POSIX, and Haiku does not support it.
map.c contains checks to handle this, but old-map.c doesn't.
Its generator make-map no longer exists, so let's insert the
check manually.
2010-03-23 Andreas Faerber <andreas.faerber@web.de>
* old-map.c (map_Mono_Posix_Signals): Fix build for platforms where
SIGIO is not defined (Haiku).
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=154029
|