2003-11-12 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Wed, 12 Nov 2003 14:43:07 +0000 (14:43 -0000)
committerZoltan Varga <vargaz@gmail.com>
Wed, 12 Nov 2003 14:43:07 +0000 (14:43 -0000)
* assembly.c (mono_assembly_load_references): Disable check because it
triggers on older corlibs which lots of people have.

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

mono/metadata/ChangeLog
mono/metadata/assembly.c

index 1e83a03bbb2f9f8948a23aa8da0548976b76446f..7b5b870e6a142651e7703a97e99ad5cdb2d086e3 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-12  Zoltan Varga  <vargaz@freemail.hu>
+
+       * assembly.c (mono_assembly_load_references): Disable check because it
+       triggers on older corlibs which lots of people have.
+
 2003-11-12  Jackson Harper  <jackson@ximian.com>
 
        * assembly.c: Change corlib name to mscorlib. Add a temp. hack to
index c098516f6230b4547f8eefacafc929d8515d8a40..a0180fa18129a0dcb86628726ad8cf127c2e5e85 100644 (file)
@@ -215,8 +215,14 @@ mono_assembly_load_references (MonoImage *image, MonoImageOpenStatus *status)
                        return;
                }
 
+               /* 
+                * This check is disabled since lots of people seem to have an older
+                * corlib which triggers this.
+                */
+               /* 
                if (image->references [i]->image == image)
                        g_error ("Error: Assembly %s references itself", image->name);
+               */
        }
        image->references [i] = NULL;