diff options
author | Alexandre Oliva <oliva@dcc.unicamp.br> | 1998-11-26 16:20:19 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@gcc.gnu.org> | 1998-11-26 16:20:19 +0000 |
commit | 076b41ee483989ab61d0b54510d7dd31b4df1d47 (patch) | |
tree | 8f345bf62fd4b6d8641a8e0e57044929e096ba08 /gcc/java/jcf-path.c | |
parent | c5941a9f1d719d41596a7829a7cc49f46770da65 (diff) | |
download | gcc-076b41ee483989ab61d0b54510d7dd31b4df1d47.zip gcc-076b41ee483989ab61d0b54510d7dd31b4df1d47.tar.gz gcc-076b41ee483989ab61d0b54510d7dd31b4df1d47.tar.bz2 |
jcf-path.c (add_entry): recognize ".jar" too
* jcf-path.c (add_entry): recognize ".jar" too
* lang-specs.h: ditto
From-SVN: r23907
Diffstat (limited to 'gcc/java/jcf-path.c')
-rw-r--r-- | gcc/java/jcf-path.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/jcf-path.c b/gcc/java/jcf-path.c index 159b09f..81da015 100644 --- a/gcc/java/jcf-path.c +++ b/gcc/java/jcf-path.c @@ -141,7 +141,8 @@ add_entry (entp, filename, is_system) 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 |