diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-12-03 15:54:09 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-12-03 15:54:09 +0000 |
commit | e8a3223121108610d6c9cee2f9063a33dc08a655 (patch) | |
tree | 2cb4f4fb56603111d1a7f7d9a6bb86bb83e81103 /gcc/java/jcf-path.c | |
parent | 160629e3a8c90cb416fe7fcb91740f5aed8a7b1c (diff) | |
download | gcc-e8a3223121108610d6c9cee2f9063a33dc08a655.tar.gz |
* jcf-dump.c (main): Fix error message.
* jcf-path.c (add_entry): Style fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24073 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf-path.c')
-rw-r--r-- | gcc/java/jcf-path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/jcf-path.c b/gcc/java/jcf-path.c index 81da01517b8..13fed50ca8c 100644 --- a/gcc/java/jcf-path.c +++ b/gcc/java/jcf-path.c @@ -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 |