* loader.c: allow case-insensitive matching of the dll name
in dllmap handling when prefixed with "i:".
svn path=/trunk/mono/; revision=73362
+
+Fri Feb 23 15:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
+
+ * loader.c: allow case-insensitive matching of the dll name
+ in dllmap handling when prefixed with "i:".
+
2007-02-20 Jonathan Chambers <joncham@gmail.com>
* threads.c: Fix #ifdef for dummy_apc function for VS.
* later entries win.
*/
for (; dll_map; dll_map = dll_map->next) {
- if (strcmp (dll_map->dll, dll))
+ if (dll_map->dll [0] == 'i' && dll_map->dll [1] == ':') {
+ if (g_ascii_strcasecmp (dll_map->dll + 2, dll))
+ continue;
+ } else if (strcmp (dll_map->dll, dll)) {
continue;
+ }
if (!found && dll_map->target) {
*rdll = dll_map->target;
found = 1;