X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fmonosn.c;h=c9114c4744a45d4947cefa9b2f7393611e4d5df5;hb=b00b16d5ddb5ac64472e6e94e2edaef63850729a;hp=aaa51db2f7ffaaa57457f78944ad93b3c5233712;hpb=e5aa23189bfdb75e36528e491537ec26ca0fc0c0;p=mono.git diff --git a/mono/metadata/monosn.c b/mono/metadata/monosn.c index aaa51db2f7f..c9114c4744a 100644 --- a/mono/metadata/monosn.c +++ b/mono/metadata/monosn.c @@ -4,7 +4,8 @@ * Author: * Paolo Molaro (lupus@ximian.com) * - * (C) 2002 Ximian, Inc. + * Copyright 2002-2003 Ximian, Inc (http://www.ximian.com) + * Copyright 2004-2009 Novell, Inc (http://www.novell.com) * */ #include @@ -70,7 +71,6 @@ show_token (const char *file, int is_assembly, int show_pubkey) { guint32 len; mono_metadata_init (); - mono_raw_buffer_init (); mono_images_init (); mono_assemblies_init (); mono_loader_init (); @@ -82,7 +82,7 @@ show_token (const char *file, int is_assembly, int show_pubkey) { } pubkey = mono_image_get_public_key (image, &len); if (!pubkey) { - printf ("%s does not represent a strongly named assembly\n", image->name); + printf ("%s does not represent a strongly named assembly\n", mono_image_get_name(image)); mono_image_close (image); return 2; } @@ -115,7 +115,7 @@ extract_data_to_file (int pubk, const char *assembly, const char *outfile) { else pubkey = mono_image_get_strong_name (image, &len); if (!pubkey) { - printf ("%s does not represent a strongly named assembly\n", image->name); + printf ("%s does not represent a strongly named assembly\n", mono_image_get_name(image)); mono_image_close (image); return 2; }