projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d02bc1f
)
Check this.len, not len, when determining if there is no more input data.
author
Bryce McKinlay
<bryce@gcc.gnu.org>
Wed, 29 Nov 2000 10:37:40 +0000
(10:37 +0000)
committer
Bryce McKinlay
<bryce@gcc.gnu.org>
Wed, 29 Nov 2000 10:37:40 +0000
(10:37 +0000)
From-SVN: r37847
libjava/java/util/zip/InflaterInputStream.java
patch
|
blob
|
history
diff --git
a/libjava/java/util/zip/InflaterInputStream.java
b/libjava/java/util/zip/InflaterInputStream.java
index d7459eb100d092515c865edc91c78d49c3c0d667..e712d19aa854c28935a6b1fcdece241117fa54a7 100644
(file)
--- a/
libjava/java/util/zip/InflaterInputStream.java
+++ b/
libjava/java/util/zip/InflaterInputStream.java
@@
-89,7
+89,7
@@
public class InflaterInputStream extends FilterInputStream
count = inf.inflate(buf, off, len);
if (count == 0)
{
- if (len == -1)
+ if (
this.
len == -1)
return -1; // Couldn't get any more data to feed to the Inflater
if (inf.needsDictionary())
throw new ZipException ("Inflater needs Dictionary");