Commit 66af84e4 by Per Bothner Committed by Per Bothner

jcf-dump.c (main): Fix error message.

 
	* jcf-dump.c (main):  Fix error message.
	* jcf-path.c (add_entry):  Style fix.

From-SVN: r24073
parent b0e3f98f
Thu Dec 3 15:08:30 1998 Per Bothner <bothner@cygnus.com>
* jcf-dump.c (main): Fix error message.
* jcf-path.c (add_entry): Style fix.
Wed Dec 2 15:52:25 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class_method): Call build_java_argument_signature
......
......@@ -820,7 +820,7 @@ DEFUN(main, (argc, argv),
break; /* got to central directory */
if (magic != 0x04034b50) /* ZIPMAGIC (little-endian) */
{
fprintf (stderr, "bad format of .zip archine\n");
fprintf (stderr, "bad format of .zip/.jar archive\n");
exit (FATAL_EXIT_CODE);
}
JCF_FILL (jcf, 26);
......
......@@ -141,8 +141,8 @@ add_entry (entp, filename, is_system)
n->next = NULL;
len = strlen (filename);
if (len > 4 && (! strcmp (filename + len - 4, ".zip")
|| ! strcmp (filename + len - 4, ".jar")))
if (len > 4 && (strcmp (filename + len - 4, ".zip") == 0
|| strcmp (filename + len - 4, ".jar") == 0))
{
n->flags |= FLAG_ZIP;
/* If the user uses -classpath then he'll have to include
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment