+2004-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * appdomain.c: fixed check for 'neutral' culture and removed warning.
+ * reflection.c: fix bug when parsing a full type name and Version is not
+ the last thing in the string.
+
2004-05-03 Zoltan Varga <vargaz@freemail.hu>
* appdomain.c (get_info_from_assembly_name): Strdup "" to prevent
if (**path == '\0')
continue; /* Ignore empty ApplicationBase */
- if (culture && g_strcasecmp (culture, "neutral"))
+ if (culture && *culture != '\0') /* !neutral */
fullpath = g_build_filename (*path, culture, filename, NULL);
else
fullpath = g_build_filename (*path, filename, NULL);
tmp++;
g_free (t);
if (g_strcasecmp (aname->culture, "neutral") == 0) {
- g_free (aname->culture);
+ g_free ((void *) aname->culture);
aname->culture = g_strdup ("");
}
continue;
assembly->revision = strtoul (p, &s, 10);
if (s == p)
return 1;
+ p = s;
} else if (*p == 'C' && strncmp (p, "Culture=", 8) == 0) {
p += 8;
if (strncmp (p, "neutral", 7) == 0) {