Imported Upstream version 3.8.0

Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
This commit is contained in:
Jo Shields
2014-09-04 09:07:35 +01:00
parent a575963da9
commit fe777c5c82
1062 changed files with 12460 additions and 5983 deletions

View File

@@ -20,7 +20,7 @@ cleanup:
run-test-local: run-mono-shlib-cop-test
run-mono-shlib-cop-test: $(the_lib) $(TEST_INPUT)
$(RUNTIME) $(the_lib) $(TEST_INPUT) | diff - test.dll.out
MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(the_lib) $(TEST_INPUT) | diff - test.dll.out
$(TEST_INPUT) : test.cs
$(CSCOMPILE) -target:library $< -out:$@

View File

@@ -42,8 +42,8 @@ namespace Mono.Unmanaged.Check {
private static extern int g_module_close (IntPtr handle);
// Warning
[DllImport ("libglib-2.0.so")]
private static extern void g_free (IntPtr mem);
[DllImport ("libMonoPosixHelper.so")]
private static extern int Mono_Posix_Stdlib_TMP_MAX ();
// Error: no such library
[DllImport ("does-not-exist")]
@@ -60,7 +60,7 @@ namespace Mono.Unmanaged.Check {
Test ()
{
g_module_close (IntPtr.Zero);
g_free (IntPtr.Zero);
Mono_Posix_Stdlib_TMP_MAX ();
Foo ();
RenameMe ();
DoesNotExist ();