svn path=/trunk/mono/; revision=26785
+2004-05-05 Jackson Harper <jackson@ximian.com>
+
+ * appdomain.c: Handle PublicKeyToken=null properly.
+
2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
* environment.c|h: Added icall ves_icall_System_Environment_
if (!g_ascii_strncasecmp (value, "PublicKeyToken=", 15)) {
tmp++;
value += 15;
- if (*value && strcmp (value, "null")) {
+ if (*value && strncmp (value, "null", 4)) {
gchar *t = g_strdup (value);
g_strchug (t);
aname->public_tok_value = g_strdup (g_strchomp (value));
g_free (t);
- continue;
}
+ continue;
}
g_strfreev (parts);