Author: lupus
Date: 2006-09-11 07:23:47 -0400 (Mon, 11 Sep 2006)
New Revision: 65224
Modified:
branches/mono-1-1-13/mono/mono/mini/ChangeLog
branches/mono-1-1-13/mono/mono/mini/mini.c
Log:
Mon Sep 11 13:18:55 CEST 2006 Paolo Molaro <[EMAIL PROTECTED]>
* mini.c: on Linux, check for /proc to be mounted
(bug# 79351, novell bug#201204).
Modified: branches/mono-1-1-13/mono/mono/mini/ChangeLog
===================================================================
--- branches/mono-1-1-13/mono/mono/mini/ChangeLog 2006-09-11 11:21:29 UTC
(rev 65223)
+++ branches/mono-1-1-13/mono/mono/mini/ChangeLog 2006-09-11 11:23:47 UTC
(rev 65224)
@@ -1,3 +1,8 @@
+Mon Sep 11 13:18:55 CEST 2006 Paolo Molaro <[EMAIL PROTECTED]>
+
+ * mini.c: on Linux, check for /proc to be mounted
+ (bug# 79351, novell bug#201204).
+
2006-07-10 Zoltan Varga <[EMAIL PROTECTED]>
* inssel-x86.brg: Remove an incorrect vtype rule. Fixes #78776.
Modified: branches/mono-1-1-13/mono/mono/mini/mini.c
===================================================================
--- branches/mono-1-1-13/mono/mono/mini/mini.c 2006-09-11 11:21:29 UTC (rev
65223)
+++ branches/mono-1-1-13/mono/mono/mini/mini.c 2006-09-11 11:23:47 UTC (rev
65224)
@@ -10257,6 +10257,13 @@
{
MonoDomain *domain;
+#ifdef __linux__
+ if (access ("/proc/self/maps", F_OK) != 0) {
+ g_print ("Mono requires /proc to be mounted.\n");
+ exit (1);
+ }
+#endif
+
/* Happens when using the embedding interface */
if (default_opt == 0)
default_opt = mono_parse_default_optimizations (NULL);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches