* assembly.c (mono_assembly_names_equal): Compare the cultures as well,
so multiple satellite assemblies for the same name can be loaded.
Fixes #68259.
* mono_domain_assembly_preload: Actually return the loaded assembly,
not NULL.
svn path=/trunk/mono/; revision=35304
2004-10-25 Zoltan Varga <vargaz@freemail.hu>
+ * assembly.c (mono_assembly_names_equal): Compare the cultures as well,
+ so multiple satellite assemblies for the same name can be loaded.
+ Fixes #68259.
+
+ * mono_domain_assembly_preload: Actually return the loaded assembly,
+ not NULL.
+
* icall.c (ves_icall_type_is_subtype_of): Fix this for byref types.
(ves_icall_type_is_assignable_from): Ditto. Fixes #68582.
result = real_load (assemblies_path, aname->culture, aname->name);
}
- return NULL;
+ return result;
}
/*
if (strcmp (l->name, r->name))
return FALSE;
+ if ((l->culture && !r->culture) || (!l->culture && r->culture) || strcmp (l->culture, r->culture))
+ return FALSE;
+
/*
* simply compare names until some other issues are resolved
* (version info not getting set correctly for custom