Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Harper <jackson@novell.com>2003-07-20 20:46:03 +0400
committerJackson Harper <jackson@novell.com>2003-07-20 20:46:03 +0400
commit35abfcdb43edd304ce999200b208e458c3d313ce (patch)
treee77cf59f7da3d160d11b655bb9a7ecb5d6438d7d
parent596ccdf374946925d5bafa2d123397785c67025c (diff)
* image.c: Allow new metadata tables to be loaded without a
warning. Also update the warning message to give the new constant value. svn path=/trunk/mono/; revision=16445
-rw-r--r--mono/metadata/ChangeLog4
-rw-r--r--mono/metadata/image.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/mono/metadata/ChangeLog b/mono/metadata/ChangeLog
index 56c10437899..0cfe275847c 100644
--- a/mono/metadata/ChangeLog
+++ b/mono/metadata/ChangeLog
@@ -1,4 +1,8 @@
+2003-07-20 Jackson Harper <jackson@latitudegeo.com>
+ * image.c: Allow new metadata tables to be loaded without a
+ warning. Also update the warning message to give the new constant value.
+
Fri Jul 18 13:12:21 CEST 2003 Paolo Molaro <lupus@ximian.com>
* class.c, class.h, debug-helpers.c, icall.c, image.c, marshal.c,
diff --git a/mono/metadata/image.c b/mono/metadata/image.c
index 6f118799e53..82476ee94b9 100644
--- a/mono/metadata/image.c
+++ b/mono/metadata/image.c
@@ -362,8 +362,8 @@ load_tables (MonoImage *image)
image->tables [table].rows = 0;
continue;
}
- if (table > 0x2b) {
- g_warning("bits in valid must be zero above 0x2b (II - 23.1.6)");
+ if (table > MONO_TABLE_LAST) {
+ g_warning("bits in valid must be zero above 0x2d (II - 23.1.6)");
}
/*if ((sorted_mask & ((guint64) 1 << table)) == 0){
g_print ("table %s (0x%02x) is sorted\n", mono_meta_table_name (table), table);