Author: lupus
Date: 2006-09-11 07:21:29 -0400 (Mon, 11 Sep 2006)
New Revision: 65223
Modified:
trunk/mono/mono/mini/ChangeLog
trunk/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: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog 2006-09-11 11:12:01 UTC (rev 65222)
+++ trunk/mono/mono/mini/ChangeLog 2006-09-11 11:21:29 UTC (rev 65223)
@@ -1,4 +1,9 @@
+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).
+
Mon Sep 11 13:10:12 CEST 2006 Paolo Molaro <[EMAIL PROTECTED]>
* mini.c: handle cases where pthread_attr_getstack() behaves
Modified: trunk/mono/mono/mini/mini.c
===================================================================
--- trunk/mono/mono/mini/mini.c 2006-09-11 11:12:01 UTC (rev 65222)
+++ trunk/mono/mono/mini/mini.c 2006-09-11 11:21:29 UTC (rev 65223)
@@ -10990,6 +10990,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_set)
default_opt = mono_parse_default_optimizations (NULL);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches