* jcf-path.c (add_entry): recognize ".jar" too
* lang-specs.h: ditto
From-SVN: r23907
+Wed Nov 26 22:03:58 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * jcf-path.c (add_entry): recognize ".jar" too
+ * lang-specs.h: ditto
+
Thu Nov 26 12:44:07 1998 Per Bothner <bothner@cygnus.com>
* jcf-write.c (generate_bytecode_insns): In Call_EXPR, handle
n->next = NULL;
len = strlen (filename);
- if (len > 4 && ! strcmp (filename + len - 4, ".zip"))
+ if (len > 4 && (! strcmp (filename + len - 4, ".zip")
+ || ! strcmp (filename + len - 4, ".jar")))
{
n->flags |= FLAG_ZIP;
/* If the user uses -classpath then he'll have to include
{".java", {"@java"} },
{".class", {"@java"} },
{".zip", {"@java"} },
+ {".jar", {"@java"} },
{"@java",
{"%{!E:jc1 %i %1 %{!Q:-quiet} %{d*} %{m*} %{a}\
%{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi}\