- winelib.exe.so error message is now only displayed if MONO_DEBUG is set.
authorPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Fri, 9 Jul 2004 05:58:39 +0000 (05:58 -0000)
committerPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Fri, 9 Jul 2004 05:58:39 +0000 (05:58 -0000)
  To help us avoid questions when people are trying out the
  new Managed.Windows.Forms.

svn path=/trunk/mono/; revision=30917

mono/metadata/ChangeLog
mono/metadata/loader.c

index 3f9c922f1fdf410f15387585bba48bf28941f56c..5bf5f0c482e764124dee53ad6b996f958acc1277 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-09  Peter Bartok <pbartok@novell.com>
+       * loader.c: winelib.exe.so error message is now only displayed if
+       MONO_DEBUG is set. To help us avoid questions when people are trying
+       out the new Managed.Windows.Forms.
+
 2004-07-08  Zoltan Varga  <vargaz@freemail.hu>
 
        * class-internals.h debug-helpers.c marshal.c: Add new wrapper types 
index 81f2af3fa7c1f1a6f88e97ee4cd6d88a46a3b257..6ec7cba6c2952a878f6406958302ddd61aa44621 100644 (file)
@@ -1154,7 +1154,9 @@ mono_loader_wine_init ()
        int (*shared_wine_init)();
 
        if (module == NULL){
-               fprintf (stderr, "Could not load winelib.exe.so");
+               if (g_getenv("MONO_DEBUG") != NULL) {
+                       fprintf (stderr, "Could not load winelib.exe.so");
+               }
                return;
        }